.transition-all {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
}
.background-cover,
.intro-header {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}
.serif,
body,
.intro-header .post-heading .meta {
  font-family: 'Lora', 'Times New Roman', serif;
}
.sans-serif,
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-custom,
.btn,
.pager li > a,
.pager li > span {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body {
  font-size: 15px;
  color: #404040;
}

p {
  line-height: 1.7;
  margin: 1.7rem 0;
  font-size: 1.7rem;
}
p,
li {
  line-height: 1.5;
  font-size: 1.5rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}
a {
  color: #404040;
}
a:hover,
a:focus {
  color: #0085a1;
}
a img:hover,
a img:focus {
  cursor: zoom-in;
}
hr {
  margin-top: 5px;
  margin-bottom: 5px;
  border: 0;
  border-top: 1px solid #b7b7b7;
}

label {
  display: inline-block;
  max-width: 100%; // Force IE8 to wrap long content (see https://github.com/twbs/bootstrap/issues/13141)
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: normal;
}

.navbar-custom {
  font-size: 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
}
.navbar-custom .navbar-right {
  margin-right: 0px;
}
.navbar-custom .navbar-brand {
  font-weight: 400;
}
.navbar-custom .nav li a {
text-transform
  font-weight: 400;
  text-decoration: none;
}
@media only screen and (min-width: 768px) {
  .navbar-custom {
    background-color: #fafafb;
    border-bottom: 1px solid transparent;
    border-color: #e7e7e7;
  }
  .navbar-custom .container-fluid {
    width: 768px;
  }
  .navbar-custom .navbar-brand {
    color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    font-weight: 700;
    font-family: 'PT Sans Caption', Helvetica, Arial, sans-serif;
  }
  .navbar-custom .navbar-brand:hover,
  .navbar-custom .navbar-brand:focus {
    color: rgba(0, 0, 0, 0.9);
  }
  .navbar-custom .nav li a {
    color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 1.7rem;
  }
  .navbar-custom .nav li a:hover,
  .navbar-custom .nav li a:focus {
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
    display: inline-block;
  }
}
@media only screen and (min-width: 1170px) {
  .navbar-custom {
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .navbar-custom .container-fluid {
    width: 800px;
  }
  .navbar-custom.is-fixed {
/* when the user scrolls down, we hide the header right above the viewport */
    position: fixed;
    top: -61px;
    background-color: rgba(255,255,255,0.9);
    border-bottom: 1px solid #f2f2f2;
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
  }
  .navbar-custom.is-fixed .navbar-brand {
    color: #404040;
  }
  .navbar-custom.is-fixed .navbar-brand:hover,
  .navbar-custom.is-fixed .navbar-brand:focus {
    color: #0085a1;
  }
  .navbar-custom.is-fixed .nav li a {
    color: #404040;
  }
  .navbar-custom.is-fixed .nav li a:hover,
  .navbar-custom.is-fixed .nav li a:focus {
    color: #0085a1;
  }
  .navbar-custom.is-visible {
/* if the user changes the scrolling direction, we show the header */
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}
.intro-header {
  background-color: #808080;
  background-position: center center;
  background-attachment: scroll;
  margin-bottom: 50px;
}
.intro-header .site-heading,
.intro-header .post-heading,
.intro-header .page-heading {
  padding: 100px 0 50px;
  color: #fff;
}
@media only screen and (min-width: 768px) {
  .intro-header .site-heading,
  .intro-header .post-heading,
  .intro-header .page-heading {
    padding: 150px 0;
  }
}
.intro-header .site-heading.archives,
.intro-header .post-heading.archives,
.intro-header .page-heading.archives {
  color: #0085a1;
  margin-top: 50px;
}
.intro-header .site-heading,
.intro-header .page-heading {
  text-align: center;
}
.intro-header .site-heading h1,
.intro-header .page-heading h1 {
  margin-top: 0;
  font-size: 50px;
}
.intro-header .post-heading h1 {
  font-size: 35px;
}
.intro-header .post-heading .meta {
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
}
.intro-header .post-heading .meta a {
  color: #fff;
}
@media only screen and (min-width: 768px) {
  .intro-header .post-heading h1 {
    font-size: 55px;
  }
}
.post-preview > a {
  color: #404040;
}
.post-preview > a:hover,
.post-preview > a:focus {
  text-decoration: none;
  color: #404040;
}
.post-preview > a > .post-title {
  font-size: 30px;
  margin-top: 10px;
  margin-bottom: 5px;
}
.post-preview > a > .post-title.archive {
  font-size: 22px;
}
.post-preview > a > .post-subtitle {
  margin: 0;
  font-weight: 300;
  margin-bottom: 10px;
}
.post-preview > .post-tag {
  display: inline-block;
  padding: 0.4rem 0.4rem;
  font-size: 1.5rem;
  line-height: 0.9;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
  background-color: #31b0d5;
  border: 1.5px solid #1bb3e9;
}

.panel-body > .post-tag {
  display: inline-block;
  padding: 0.4rem 0.4rem;
  font-size: 1.5rem;
  line-height: 0.9;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
  background-color: #31b0d5;
  border: 1.5px solid #1bb3e9;
}
.panel-body> .post-red-tag {
  display: inline-block;
  padding: 0.4rem 0.4rem;
  font-size: 1.5rem;
  line-height: 0.9;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
  background-color: #a94442;
  border: 1.5px solid #a94442;
}
.post-preview > .post-edit-tag {
  display: inline-block;
  padding: 0.4rem 0.4rem;
  font-size: 1.5rem;
  line-height: 0.9;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
  background-color: #a94442;
  border: 1.5px solid #a94442;
  float: right;
  margin: -3rem 0;
}
.post-preview > .post-red-tag {
  display: inline-block;
  padding: 0.4rem 0.4rem;
  font-size: 1.5rem;
  line-height: 0.9;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
  background-color: #a94442;
  border: 1.5px solid #a94442;
}

.post-preview > .post-meta {
  color: #808080;
  font-size: 15px;
  margin-top: 0;
  margin-bottom: 0;
  direction: rtl;
}
.post-preview > .post-meta.archive {
  font-size: 16px;
}
.post-preview > .post-meta > a {
  text-decoration: none;
  color: #404040;
}
.post-preview > .post-meta > a:hover,
.post-preview > .post-meta > a:focus {
  color: #0085a1;
}
@media only screen and (min-width: 768px) {
  .post-preview > a > .post-title {
    font-size: 36px;
  }
}
.section-heading {
  font-size: 36px;
  margin-top: 60px;
  font-weight: 700;
}
.caption {
  text-align: center;
  font-size: 14px;
  padding: 10px;
  font-style: italic;
  margin: 0;
  display: block;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
.post-tags,
.post-categories {
  font-size: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
}
.post-tags a,
.post-categories a {
  border-bottom: 1px dotted #ababab;
  text-transform: uppercase;
  margin-right: 10px;
}
.post-tags a:hover,
.post-categories a:hover,
.post-tags a:visited,
.post-categories a:visited,
.post-tags a:active,
.post-categories a:active {
  text-decoration: none;
  border-bottom: none;
}
.archive-before-pagination {
  height: 30px;
}
footer {
  padding: 50px 0 65px;
}
footer .list-inline {
  margin: 0;
  padding: 0;
}
footer .copyright {
  font-size: 14px;
  text-align: center;
  margin-bottom: 0;
}
.floating-label-form-group {
  font-size: 14px;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #eee;
}
.floating-label-form-group input,
.floating-label-form-group textarea {
  z-index: 1;
  position: relative;
  padding-right: 0;
  padding-left: 0;
  border: none;
  border-radius: 0;
  font-size: 1.5em;
  background: none;
  box-shadow: none !important;
  resize: none;
}
.floating-label-form-group label {
  display: block;
  z-index: 0;
  position: relative;
  top: 2em;
  margin: 0;
  font-size: 0.85em;
  line-height: 1.764705882em;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
  -webkit-transition: top 0.3s ease, opacity 0.3s ease;
  -moz-transition: top 0.3s ease, opacity 0.3s ease;
  -ms-transition: top 0.3s ease, opacity 0.3s ease;
  transition: top 0.3s ease, opacity 0.3s ease;
}
.floating-label-form-group::not(:first-child) {
  padding-left: 14px;
  border-left: 1px solid #eee;
}
.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}
.floating-label-form-group-with-focus label {
  color: #0085a1;
}
form .row:first-child .floating-label-form-group {
  border-top: 1px solid #eee;
}
.btn {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 1px;
  border-radius: 0;
}
.btn-lg {
  font-size: 16px;
  padding: 25px 35px;
}
.btn-default:hover,
.btn-default:focus {
  background-color: #0085a1;
  border: 1px solid #0085a1;
  color: #fff;
}
.pager {
  margin: 20px 0 0;
}
.pager li > a,
.pager li > span {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 15px 25px;
  background-color: #fff;
  border-radius: 0;
}
.pager li > a:hover,
.pager li > a:focus {
  color: #fff;
  background-color: #0085a1;
  border: 1px solid #0085a1;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  color: #808080;
  background-color: #404040;
  cursor: not-allowed;
}
::-moz-selection {
  color: #fff;
  text-shadow: none;
  background: #0085a1;
}
::selection {
  color: #fff;
  text-shadow: none;
  background: #0085a1;
}
img::selection {
  color: #fff;
  background: transparent;
}
img::-moz-selection {
  color: #fff;
  background: transparent;
}
body {
  webkit-tap-highlight-color: #0085a1;
}
article .container .row img {
  max-width: 100% !important;
  height: auto;
  display: inline-block;
}
article .container .row .video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
article .container .row .video-container iframe,
article .container .row .video-container object,
article .container .row .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-top: 0;
}
article .container .row blockquote {
  font-style: italic;
  font-family: "Georgia", serif;
  font-size: 1.2em;
  padding: 0 30px 15px;
  text-align: center;
}
article .container .row blockquote footer {
  border-top: none;
  font-size: 0.8em;
  line-height: 1;
  margin: 20px 0 0;
  padding-top: 0;
}
article .container .row blockquote footer cite:before {
  content: '—';
  color: #ccc;
  padding: 0 0.5em;
}
article .container .row .pullquote {
  float: right;
  border: none;
  padding: 0;
  margin: 1em 0 0.5em 1.5em;
  text-align: left;
  width: 45%;
  font-size: 1.5em;
}
article .container .row .pullquote.left {
  float: left;
}
figure.highlight {
  background: #eee;
  border: 1px solid #ddd;
  margin-top: 15px;
  padding: 7px 15px;
  border-radius: 2px;
  text-shadow: 0 0 1px #fff;
  line-height: 1.6;
  overflow: auto;
  position: relative;
  font-size: 0.9em;
}
figure.highlight figcaption {
  color: #999;
  font-family: Monaco, Menlo, Consolas, Courier New, monospace;
  margin-bottom: 5px;
  text-shadow: 0 0 1px #fff;
}
figure.highlight figcaption a {
  position: absolute;
  right: 15px;
}
figure.highlight pre {
  border: none;
  padding: 0;
  margin: 0;
  background: none;
}
figure.highlight table {
  margin-top: 0;
  border-spacing: 0;
}
figure.highlight table .gutter {
  color: #999;
  padding-right: 15px;
  border-right: 1px solid #ddd;
  text-align: right;
}
figure.highlight table .code {
  padding-left: 15px;
  border-left: 1px solid #fff;
  color: #666;
}
figure.highlight table .line {
  height: 20px;
}
figure.highlight table .line.marked {
  background: #d6d6d6;
}
pre .comment,
pre .template_comment,
pre .diff .header,
pre .doctype,
pre .pi,
pre .lisp .string,
pre .javadoc {
  color: #93a1a1;
  font-style: italic;
}
pre .keyword,
pre .winutils,
pre .method,
pre .addition,
pre .css .tag,
pre .request,
pre .status,
pre .nginx .title {
  color: #859900;
}
pre .number,
pre .command,
pre .string,
pre .tag .value,
pre .phpdoc,
pre .tex .formula,
pre .regexp,
pre .hexcolor {
  color: #2aa198;
}
pre .title,
pre .localvars,
pre .chunk,
pre .decorator,
pre .built_in,
pre .identifier,
pre .vhdl,
pre .literal,
pre .id {
  color: #268bd2;
}
pre .attribute,
pre .variable,
pre .lisp .body,
pre .smalltalk .number,
pre .constant,
pre .class .title,
pre .parent,
pre .haskell .type {
  color: #b58900;
}
pre .preprocessor,
pre .preprocessor .keyword,
pre .shebang,
pre .symbol,
pre .symbol .string,
pre .diff .change,
pre .special,
pre .attr_selector,
pre .important,
pre .subst,
pre .cdata,
pre .clojure .title {
  color: #cb4b16;
}
pre .deletion {
  color: #dc322f;
}

/* Application UI refresh */
:root {
  --ink: #17211f;
  --ink-soft: #44524f;
  --muted: #74817e;
  --line: #dfe5e3;
  --line-strong: #cbd4d1;
  --surface: #fff;
  --surface-soft: #f5f7f6;
  --canvas: #eef2f0;
  --accent: #087f73;
  --accent-dark: #07665e;
  --accent-soft: #e5f3f0;
  --warning-soft: #fff6e5;
  --danger: #b54747;
  --danger-soft: #fbecec;
  --shadow-sm: 0 1px 2px rgba(18, 33, 29, .05);
  --shadow-md: 0 12px 32px rgba(18, 33, 29, .08);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 33, 31, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 31, .025) 1px, transparent 1px),
    var(--canvas);
  background-size: 32px 32px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); transition: color .16s, background-color .16s, border-color .16s, box-shadow .16s; }
a:hover, a:focus { color: var(--accent-dark); text-decoration: none; }
h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-family: inherit;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0;
}
p, li { font-size: 14px; line-height: 1.7; }
hr { margin: 20px 0; border: 0; border-top: 1px solid var(--line); }
.navbar-custom .fa,
.form-inline > .fa,
.panel-heading > .fa { display: none; }

.navbar-custom {
  min-height: 64px;
  margin: 0;
  background: rgba(255, 255, 255, .96);
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}
.navbar-custom .nav-shell { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 28px; }
.navbar-custom .navbar-header { margin-right: 28px; }
.navbar-custom .navbar-brand,
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
}
.brand-mark, .footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin-right: 10px;
  color: #fff;
  background: var(--ink);
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18);
}
.navbar-custom .navbar-nav > li > a {
  position: relative;
  min-height: 64px;
  padding: 21px 13px 18px;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 14px;
  font-weight: 550;
  line-height: 24px;
}
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus { color: var(--ink); background: transparent; }
.navbar-custom .navbar-nav > .active > a,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus { color: var(--accent); background: transparent; }
.navbar-custom .navbar-nav > .active > a::after {
  position: absolute;
  right: 13px;
  bottom: 0;
  left: 13px;
  height: 3px;
  content: "";
  background: var(--accent);
  border-radius: 3px 3px 0 0;
}
.navbar-custom .navbar-right { margin-right: 0; }
.navbar-custom .nav-logout > a { display: flex; align-items: center; gap: 6px; }
.navbar-custom .nav-logout .fa { display: inline-block; font-size: 14px; }
.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: -2px 8px -2px 0;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid #c8e5df;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}
.navbar-custom .caret { margin-left: 7px; color: var(--muted); }
.navbar-custom .dropdown-menu {
  min-width: 200px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-md);
}
.navbar-custom .dropdown-menu > li > a {
  padding: 9px 12px;
  color: var(--ink-soft);
  border-radius: 5px;
  font-size: 13px;
}
.navbar-custom .dropdown-menu > li > a:hover,
.navbar-custom .dropdown-menu > li > a:focus { color: var(--ink); background: var(--surface-soft); }

.app-main { min-height: calc(100vh - 126px); padding: 96px 0 48px; }
.main-container { width: 100%; max-width: 1280px; }
.app-footer { padding: 0 0 24px; color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: center; font-size: 12px; }
.footer-mark { width: 22px; height: 22px; flex-basis: 22px; margin-right: 7px; border-radius: 5px; font-size: 10px; }
.page-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.page-title { margin: 0 0 6px; font-size: 24px; }
.page-subtitle { margin: 0; color: var(--muted); font-size: 13px; }

.alert { position: relative; padding: 12px 44px 12px 15px; border-radius: 6px; box-shadow: var(--shadow-sm); }
.alert-warning { color: #75531c; background: var(--warning-soft); border-color: #ecd7ad; }
.alert .close { top: 0; color: inherit; opacity: .55; }
label { margin-bottom: 7px; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.form-group { margin-bottom: 18px; }
.form-control {
  height: 42px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  box-shadow: none;
  font-size: 14px;
  transition: border-color .16s, box-shadow .16s;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(8, 127, 115, .12); }
.checkbox label { color: var(--ink-soft); font-weight: 400; }
.checkbox input[type="checkbox"] { margin-top: 5px; }
.btn {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 5px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  transition: transform .12s, box-shadow .16s, background-color .16s, border-color .16s;
}
.btn:active { transform: translateY(1px); }
.btn-default, .btn-primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(8, 127, 115, .18);
}
.btn-default:hover, .btn-default:focus,
.btn-primary:hover, .btn-primary:focus { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); }

.auth-card {
  width: 100%;
  max-width: 460px;
  margin: 28px auto 48px;
  padding: 34px 38px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 7px;
  box-shadow: var(--shadow-md);
}
.auth-card-header { margin-bottom: 26px; }
.auth-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.auth-card h1 { margin: 0; font-size: 24px; }
.auth-card form .btn { width: 100%; margin-top: 4px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 12px; }
.auth-divider::before, .auth-divider::after { height: 1px; flex: 1; content: ""; background: var(--line); }
.btn-sso {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn-sso:hover, .btn-sso:focus { color: var(--accent-dark); background: var(--accent-soft); border-color: #b9dcd6; }
.sso-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}
.auth-links { display: flex; justify-content: space-between; gap: 16px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.auth-links p { margin: 0; color: var(--muted); font-size: 12px; }
.auth-links a { font-weight: 600; }

.form-inline {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-sm);
}
.form-inline > .form-group { margin: 0; }
.form-inline .form-control { min-width: 160px; }
.form-inline > hr { display: none; }
.range-shortcuts { display: inline-flex; align-items: center; gap: 6px; margin-right: 2px; }
.range-label { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.btn-range {
  min-height: 34px;
  padding: 7px 11px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
}
.btn-range:hover, .btn-range:focus, .btn-range:active {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-color: #b9dcd6;
  box-shadow: none;
}

.post-preview {
  position: relative;
  margin-bottom: 18px;
  padding: 24px 26px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-sm);
  transition: border-color .16s, box-shadow .16s;
}
.post-preview:hover { border-color: var(--line-strong); box-shadow: 0 8px 24px rgba(18, 33, 29, .06); }
.post-preview > .post-tag, .report-card-tags > .post-tag, .panel-body > .post-tag,
.post-preview > .post-red-tag, .panel-body > .post-red-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin: 0 5px 8px 0;
  padding: 4px 9px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  line-height: 16px;
  white-space: normal;
  vertical-align: top;
}
.panel-body > .post-tag { color: var(--accent-dark); background: var(--accent-soft); border-color: #c8e5df; }
.post-preview > .post-red-tag, .panel-body > .post-red-tag { color: var(--danger); background: var(--danger-soft); border-color: #f0cccc; }
.report-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 7px; }
.report-card-tags { display: flex; flex: 1; flex-wrap: wrap; min-width: 0; }
.report-card-header .post-edit-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 6px 12px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid #c8e5df;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 650;
}
.report-card-header .post-edit-tag i { margin-right: 6px; }
.report-card-header .post-edit-tag:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.post-preview > p:first-of-type, .post-preview > ol:first-of-type,
.post-preview > ul:first-of-type, .post-preview > table:first-of-type { margin-top: 15px; }
.post-preview p, .post-preview li, .panel-body p, .panel-body li { color: #34413e; line-height: 1.75; }
.post-preview img { max-width: 100%; height: auto; }

.panel { margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow-sm); }
.post-preview > .panel:last-child { margin-bottom: 0; }
.panel-default > .panel-heading {
  padding: 15px 18px;
  color: var(--ink);
  background: var(--surface-soft);
  border-color: var(--line);
  border-radius: 7px 7px 0 0;
  font-size: 14px;
  font-weight: 650;
}
.panel-heading > a { float: right; font-size: 12px; font-weight: 600; }
.panel-body { padding: 20px; }
.table-responsive { border: 0; }
.table { margin-bottom: 0; background: var(--surface); }
.table > thead > tr > th {
  padding: 11px 12px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 700;
}
.table > tbody > tr > td { padding: 13px 12px; border-top-color: var(--line); vertical-align: top; }
.table-bordered, .table-bordered > thead > tr > th, .table-bordered > tbody > tr > td { border-color: var(--line); }
.table-striped > tbody > tr:nth-of-type(odd) { background: #fafbfb; }
.table-hover > tbody > tr:hover { background: var(--accent-soft); }

.pager { margin: 24px 0 0; }
.pager li > a, .pager li > span {
  min-width: 112px;
  padding: 9px 15px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.pager li > a:hover, .pager li > a:focus { color: var(--accent-dark); background: var(--accent-soft); border-color: #b9dcd6; }
.pager .disabled > a, .pager .disabled > a:hover,
.pager .disabled > a:focus, .pager .disabled > span { color: #a2aaa8; background: var(--surface-soft); border-color: var(--line); }

.editor-workspace { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow-sm); }
.editor-heading { padding: 20px 24px; background: var(--surface-soft); border-bottom: 1px solid var(--line); }
.editor-heading h1 { margin: 0 0 4px; font-size: 20px; }
.editor-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.editor-body { padding: 24px; }
.editor-body h4 { margin: 0 0 12px; color: var(--ink-soft); font-size: 13px; }
.editor-body .wangEditor-container { border-color: var(--line-strong); border-radius: 5px; }
.editor-body .wangEditor-menu-container { background: var(--surface-soft); border-bottom-color: var(--line); }
.editor-body .form-inline { display: block; margin: 0; padding: 0; border: 0; box-shadow: none; }
.editor-body .form-group:last-child { margin-top: 18px; margin-bottom: 0; text-align: right; }
.pagination > li > a, .pagination > li > span { color: var(--ink-soft); border-color: var(--line); }
.pagination > .active > a, .pagination > .active > a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.makeup-report { max-width: 980px; margin: 0 auto; }
.makeup-report-panel { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow-sm); }
.makeup-report-meta { display: grid; grid-template-columns: minmax(220px, 1fr) 150px 150px; gap: 16px; }
.makeup-report-status { margin: -4px 0 14px; color: #9a5b17; font-size: 12px; }
.makeup-report-panel textarea { min-height: 420px; }
.makeup-report-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
.makeup-report-actions .form-group { margin-bottom: 0; }
.admin-form .wangEditor-container,
form.admin-form .wangEditor-container { border-color: var(--line-strong); border-radius: 5px; }
.admin-form .wangEditor-menu-container,
form.admin-form .wangEditor-menu-container { background: var(--surface-soft); border-bottom-color: var(--line); }
::selection { color: var(--ink); background: #bfe5de; }

@media (max-width: 1199px) {
  .navbar-custom .nav-shell { padding: 0 18px; }
  .navbar-custom .navbar-header { margin-right: 12px; }
  .navbar-custom .navbar-nav > li > a { padding-right: 9px; padding-left: 9px; font-size: 13px; }
}

@media (max-width: 767px) {
  .navbar-custom, .navbar-custom .navbar-brand { min-height: 58px; height: 58px; }
  .navbar-custom .nav-shell { padding: 0 15px; }
  .navbar-custom .navbar-header { margin: 0 -15px; }
  .navbar-custom .navbar-brand { margin-left: 15px; }
  .brand-mark { width: 30px; height: 30px; flex-basis: 30px; }
  .navbar-custom .navbar-toggle { margin-top: 12px; margin-right: 15px; padding: 9px; border-color: var(--line-strong); border-radius: 5px; }
  .navbar-custom .navbar-toggle:hover, .navbar-custom .navbar-toggle:focus { background: var(--surface-soft); }
  .navbar-custom .navbar-toggle .icon-bar { background: var(--ink-soft); }
  .navbar-custom .navbar-collapse {
    max-height: calc(100vh - 58px);
    margin: 0 -15px;
    padding: 8px 15px 14px;
    overflow-y: auto;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .navbar-custom .navbar-nav { margin: 0; }
  .navbar-custom .navbar-nav > li > a { min-height: 42px; padding: 9px 11px; border-radius: 5px; }
  .navbar-custom .navbar-nav > .active > a { background: var(--accent-soft); }
  .navbar-custom .navbar-nav > .active > a::after { display: none; }
  .navbar-custom .navbar-right { padding-top: 8px; border-top: 1px solid var(--line); }
  .navbar-custom .dropdown-menu { box-shadow: none; }
  .app-main { min-height: calc(100vh - 110px); padding: 78px 0 30px; }
  .auth-card { margin-top: 8px; padding: 27px 22px 24px; }
  .auth-links { display: block; }
  .auth-links p + p { margin-top: 8px; }
  .form-inline { display: block; padding: 14px; }
  .form-inline > .form-group { margin-bottom: 12px; }
  .form-inline .form-control, .form-inline .btn { width: 100%; }
  .range-shortcuts { display: flex; flex-wrap: wrap; margin-bottom: 12px; }
  .range-label { width: 100%; margin-bottom: 4px; }
  .range-shortcuts .btn-range { width: auto; }
  .post-preview { padding: 18px 16px; }
  .report-card-header { align-items: stretch; flex-direction: column; gap: 2px; }
  .report-card-header .post-edit-tag { align-self: flex-start; margin-bottom: 8px; }
  .panel-heading > a { display: block; float: none; margin-top: 5px; }
  .editor-heading, .editor-body { padding: 18px 16px; }
  .makeup-report-panel { padding: 18px 16px; }
  .makeup-report-meta { grid-template-columns: 1fr; gap: 0; }
  .makeup-report-actions .form-group, .makeup-report-actions .btn { width: 100%; }
  .table-responsive { margin-bottom: 0; }
}
