/* Workmoa: deep blue, ink and a small coral accent from the supplied mark. */
body, body.customer-mode, body:not(.customer-mode) {
  --blue:#092eb4; --blue-dark:#062487; --soft:#eaf0ff;
  --ink:#20242e; --muted:#667085; --line:#e2e8f3; --bg:#f5f7fc;
  color:var(--ink); background:#f5f7fc;
}
body.customer-mode { background:radial-gradient(ellipse at 50% -12%,#e7edff 0,transparent 650px),#f6f8fc; }
:focus-visible { outline-color:#7598ff; }
.customer-mode .customer-brand img { width:224px; height:66px; object-fit:contain; mix-blend-mode:multiply; }
body:not(.customer-mode) .sidebar .brand img { width:190px; height:auto; mix-blend-mode:multiply; }
.brand span { color:#7481a1; letter-spacing:.15em; }
.customer-mode .panel, .customer-mode #applyForm>.section, .customer-mode #customerSignupForm>.section,
.panel, .dashboard-card { border-color:#e1e7f2; box-shadow:0 6px 24px #1d3e9810; }
.customer-mode #customerLoginView>.panel::before { background:linear-gradient(90deg,#082db4 0%,#355be3 82%,#ff5255 82%,#ff5255 100%); }
.customer-mode .heading p, .customer-mode .rail p { color:#64708a; }
.customer-mode .rail h2 { color:#202b44; }
.customer-mode input:not([type=checkbox],[type=radio]), .customer-mode textarea, .customer-mode select { border-color:#d7e0f1; color:#20242e; }
.customer-mode input:not([type=checkbox],[type=radio]):hover, .customer-mode textarea:hover, .customer-mode select:hover { border-color:#aebfe9; }
.customer-mode input:not([type=checkbox],[type=radio]):focus, .customer-mode textarea:focus, .customer-mode select:focus { border-color:#3761d8; box-shadow:0 0 0 3px #3761d826; }
.customer-mode input[type=checkbox], .customer-mode input[type=radio], body:not(.customer-mode) input[type=checkbox], body:not(.customer-mode) input[type=radio] { accent-color:#0b31b8; }
.customer-mode .btn.primary, body:not(.customer-mode) .btn.primary { color:#fff; background:#0b30b6; border-color:#0b30b6; box-shadow:0 4px 14px #0b30b628; }
.customer-mode .btn.primary:hover, body:not(.customer-mode) .btn.primary:hover { background:#08268f; border-color:#08268f; }
.customer-mode .btn.secondary, body:not(.customer-mode) .btn.secondary { background:#fff; color:#314365; border-color:#ced9ee; }
.customer-mode .btn.secondary:hover, body:not(.customer-mode) .btn.secondary:hover { background:#f1f5ff; border-color:#9cb3eb; }
.customer-mode .btn.text, body:not(.customer-mode) .btn.text { color:#0b30b6; }
.customer-mode #authSwitchRegister { background:#f7f9ff; }
.action-icon { display:inline-flex; flex:none; align-items:center; justify-content:center; }
.action-icon svg, .btn .action-icon svg { width:1.15em; height:1.15em; }
.btn.icon-button, .customer-mode .customer-brand .btn.icon-button {
  display:inline-grid; place-items:center; flex:none; width:44px; height:44px; min-height:44px;
  padding:0; border:1px solid #d4dff3; border-radius:12px; background:#fff; color:var(--blue);
}
.btn.icon-button:not(:disabled):hover, .customer-mode .customer-brand .btn.icon-button:not(:disabled):hover {
  background:#edf3ff; border-color:#a6bbef; color:var(--blue-dark);
}
.btn.icon-button .action-icon svg { width:19px; height:19px; }
.customer-mode .customer-header-inner { grid-template-columns:minmax(44px, 1fr) auto minmax(44px, 1fr); }
.customer-mode .customer-navigation { grid-area:1 / 1; justify-self:start; }
.customer-mode .customer-header-start { grid-area:1 / 2; }
.customer-mode .customer-header-account { grid-area:1 / 3; }
@media (max-width:800px) {
  .customer-mode .customer-header-account { display:contents; }
  .customer-mode #customerLogout { grid-area:1 / 3; justify-self:end; }
  .customer-mode .customer-account-name { grid-area:2 / 1 / 3 / 4; justify-self:center; max-width:100%; }
}
.admin-menu-close .action-icon svg, .kakao-popup-close .action-icon svg { width:17px; height:17px; }
.admin-menu-toggle .action-icon svg { width:17px; height:17px; }
.kakao-popup-drag .action-icon svg { width:13px; height:13px; }
.signup-campaign-guide { margin-bottom:16px; padding:16px 20px; }
.signup-campaign-guide h2 { font-size:1rem; }
.signup-campaign-steps { display:flex; flex-wrap:wrap; gap:7px; margin:10px 0; padding:0; list-style:none; }
.signup-campaign-steps li {
  display:flex; align-items:center; gap:6px; max-width:100%; min-height:30px;
  padding:4px 9px 4px 5px; border-radius:20px; background:var(--soft);
  color:#234280; font-size:.8125rem; font-weight:700; line-height:1.35;
}
.signup-campaign-steps li span {
  display:grid; place-items:center; flex:none; width:21px; height:21px;
  border-radius:50%; background:var(--blue); color:white; font-size:.75rem;
}
.signup-campaign-guide p, .signup-photo-guide p, .signup-photo-guide ul { color:var(--muted); font-size:.8125rem; line-height:1.65; }
#customerSignupForm>.signup-photo-guide { display:block; }
.signup-photo-guide h2 { color:#33486d; font-size:1rem; }
.signup-photo-guide p { margin-top:6px; }
.signup-photo-guide ul { margin:5px 0; padding-inline-start:20px; }
@media (max-width:600px) { .signup-campaign-guide { margin-bottom:12px; padding:12px 14px; } }
.customer-welcome {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;
  margin-bottom:18px; padding:24px 26px; border-radius:17px;
  color:white; background:linear-gradient(120deg,#062487 12%,#214dce 100%);
}
.customer-mode .customer-welcome h1 { font-size:1.65rem; }
.customer-welcome p { margin-top:4px; color:#e4ecff; font-size:.875rem; }
.customer-new-request { background:white; color:#092eb4; min-height:44px; }
.customer-new-request:hover { background:#edf3ff; }
#customerHomeView .notice-board { margin:0 0 16px; }
.customer-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:18px; }
.customer-metric {
  display:flex; align-items:flex-start; gap:10px; min-width:0; padding:14px;
  border:1px solid var(--line); border-radius:13px; background:white;
}
.customer-metric>.action-icon { width:29px; height:29px; border-radius:9px; background:var(--soft); color:var(--blue); }
.customer-metric div { min-width:0; }
.customer-metric div>* { display:block; }
.customer-metric div>span { color:#354665; font-size:.8125rem; font-weight:700; }
.customer-metric strong { margin-top:2px; color:var(--ink); font-size:1.42rem; line-height:1.3; font-variant-numeric:tabular-nums; }
.customer-metric small { margin-top:3px; color:var(--muted); font-size:.75rem; }
.customer-home-grid { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:12px; align-items:start; }
.customer-home-panel { padding:15px 17px; }
.customer-home-panel>header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 10px; margin-bottom:6px; }
.customer-home-panel>header h2 { font-size:1rem; }
.customer-home-panel .customer-campaign { margin-top:8px; box-shadow:none; }
.customer-home-panel .customer-campaign-heading { grid-template-columns:minmax(0,1fr) auto 14px; }
.customer-home-panel .customer-campaign-progress { grid-row:2; grid-column:1/3; }
.customer-summary-row {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:6px 12px;
  padding:14px 15px; border-bottom:1px solid #e9eef8;
}
.customer-home-panel .customer-summary-row { padding:12px 3px; }
.customer-summary-row:last-child { border-bottom:0; }
.customer-summary-row:hover { background:#f1f5ff; }
.customer-row-text { display:grid; gap:2px; min-width:0; }
.customer-row-text strong { color:#1e2b48; font-size:.9rem; overflow-wrap:anywhere; }
.customer-row-text small { color:var(--muted); font-size:.78rem; overflow-wrap:anywhere; }
.customer-row-detail { display:flex; align-items:flex-end; justify-content:flex-end; flex-wrap:wrap; gap:4px 8px; font-size:.875rem; }
.customer-row-detail strong { color:#17397f; font-variant-numeric:tabular-nums; white-space:nowrap; }
.customer-empty { padding:16px 6px; color:var(--muted); font-size:.875rem; }
.customer-campaign-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-bottom:12px; }
.customer-campaign-filters, #customerCampaignSearch { display:flex; flex-wrap:wrap; gap:6px; }
.customer-mode .customer-campaign-filters button[aria-pressed="true"] { color:var(--blue); background:var(--soft); border-color:#a7bcec; }
#customerCampaignSearch { flex:0 1 340px; flex-wrap:nowrap; }
#customerCampaignSearch input { flex:1; min-width:0; margin:0; }
.customer-today {
  display:flex; align-items:center; gap:8px; padding:12px 15px; margin-bottom:12px;
  border:1px solid #d6e2fb; border-radius:10px; color:#23468e; background:#edf3ff; font-size:.875rem;
}
.customer-campaign-rows { display:grid; gap:9px; }
.customer-campaign-heading {
  display:grid; grid-template-columns:minmax(0,1fr) auto minmax(130px,170px) 14px; align-items:center; gap:8px 12px;
  padding:12px; cursor:pointer; list-style:none;
}
.customer-campaign-heading::-webkit-details-marker { display:none; }
.customer-campaign-heading::after { content:""; grid-column:-2; grid-row:1; justify-self:center; width:7px; height:7px; border:solid var(--blue); border-width:0 2px 2px 0; transform:rotate(45deg); }
.customer-campaign[open] .customer-campaign-heading::after { transform:rotate(225deg); }
.customer-campaign-heading:hover { color:var(--blue); }
.customer-campaign-progress { min-width:0; }
.customer-progress-figures { display:flex; justify-content:space-between; flex-wrap:wrap; gap:3px 6px; font-size:.76rem; color:#566583; }
.customer-progress-figures strong { color:#153eac; }
.customer-progress-bar { appearance:none; display:block; width:100%; height:6px; margin-top:5px; border:0; border-radius:99px; background:#e1eafc; color:var(--blue); }
.customer-progress-bar::-webkit-progress-bar { border-radius:99px; background:#e1eafc; }
.customer-progress-bar::-webkit-progress-value { border-radius:99px; background:#315be1; }
.customer-progress-bar::-moz-progress-bar { border-radius:99px; background:#315be1; }
.customer-campaign-details { display:grid; justify-items:start; gap:10px; padding:12px; border-top:1px solid var(--line); }
.customer-campaign-product { display:flex; justify-content:space-between; align-items:center; gap:5px 10px; flex-wrap:wrap; width:100%; font-size:.8125rem; color:#425477; }
@media (max-width:700px) {
  .customer-home-grid { grid-template-columns:1fr; }
  .customer-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .customer-welcome { padding:17px; }
  .customer-campaign-heading { grid-template-columns:minmax(0,1fr) auto 14px; }
  .customer-campaign-progress { grid-row:2; grid-column:1/3; }
}
@media (max-width:430px) {
  .customer-metric { padding:10px; gap:6px; }
  .customer-metric>.action-icon { width:24px; height:24px; }
  .customer-welcome .btn { width:100%; }
  #customerCampaignSearch { flex:1 1 100%; }
}
.customer-mode .customer-profile summary, .customer-mode .service summary { color:#33486d; }
.customer-mode .product, .customer-mode .quote-product { background:#fbfcff; border-color:#e1e8f5; }
.product-conditions {
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid #dce5f6;
}
.product-conditions h4 { margin:0; color:#172d65; font-size:1rem; }
.product-conditions > .hint { margin:4px 0 12px; }
#sharedConditions .product-conditions { margin-top:0; padding:14px; border:1px solid #dce5f6; border-radius:12px; }
.product-add-row { display:flex; align-items:center; gap:10px; }
.product-add-row .hint { font-variant-numeric:tabular-nums; }
@media (max-width:600px) {
  .product-conditions { margin-top:12px; padding-top:10px; }
  .product-conditions > .hint { margin-bottom:8px; }
}
.home-promo {
  width:min(92vw, 426px);
  max-width:none;
  max-height:calc(100dvh - 24px);
  padding:0;
  overflow:auto;
  border:1px solid #dce5f6;
  border-radius:18px;
  background:#fff;
  color:#12244b;
  box-shadow:0 22px 60px #07173d50;
}
.home-promo[open] { animation:home-promo-enter .26s ease-out both; }
.home-promo::backdrop { background:#09183185; }
.home-promo-header, .home-promo-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:8px 12px;
}
.home-promo-header h2 { margin:0; font-size:1rem; line-height:1.3; overflow-wrap:anywhere; }
.home-promo-actions .btn { min-height:36px; white-space:nowrap; }
.home-promo > img {
  display:block;
  width:100%;
  max-height:calc(100dvh - 154px);
  object-fit:contain;
  background:#edf3ff;
}
.popup-settings-grid {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 220px);
  align-items:start;
  gap:16px;
}
.popup-settings-grid .btn { justify-self:start; }
.popup-preview { margin:0; padding:10px; background:#f1f5fe; border:1px solid #dce5f6; border-radius:10px; }
.popup-preview figcaption { margin-bottom:8px; font-size:.84rem; font-weight:700; }
.popup-preview img { display:block; width:100%; max-height:300px; object-fit:contain; border-radius:6px; }
@keyframes home-promo-enter {
  from { opacity:0; transform:translateY(8px) scale(.98); }
  to { opacity:1; transform:translateY(0) scale(1); }
}
@media (prefers-reduced-motion:reduce) {
  .home-promo[open] { animation:none; }
}
@media (max-width:600px) {
  .popup-settings-grid { grid-template-columns:minmax(0, 1fr); }
  .popup-preview { width:min(100%, 220px); }
  .home-promo-actions .btn { padding-inline:9px; font-size:.82rem; }
}
.customer-mode .estimate, .preview-estimate { background:#edf2ff; border-color:#d8e3fb; color:#314d85; }
.customer-mode .estimate b, .customer-mode .quote-detail .total-final { color:#0b30b6; }
.customer-mode .estimate small { color:#687a9b; }
.customer-mode .choices label:has(:checked), .choices label:has(:checked) { background:#edf2ff; border-color:#7799ef; color:#123aa8; }
.customer-mode #signupTaxNote, .customer-mode .quote-detail .notice, .customer-mode .customer-recovery-code { background:#f0f4ff; border-color:#dbe5fb; color:#344e83; }
.customer-mode .quote-header, .quote-header { background:#eef3ff; border-color:#dce6fa; }
.customer-mode .quote-header h2, .quote-header h2, .quote-detail .total-final { color:#0b2ea8; }
.quote-header img, .customer-mode .quote-header img { width:138px; height:auto; max-width:38%; mix-blend-mode:multiply; }
.preview-logo { width:150px; height:auto; }
.admin-preview-frame { background:radial-gradient(ellipse at 50% -12%,#e7edff 0,transparent 650px),#f6f8fc; color:#20242e; }
.preview-mode { border-color:#d7e0f1; color:#596984; }
.preview-mode[aria-pressed="true"] { background:#eaf0ff; border-color:#a6bbf0; color:#0b30b6; }
.preview-description, .preview-hint { color:#64708a; }
.preview-card, .preview-service, .builtin-row { border-color:#dfe6f3; }
.preview-input { border-color:#d7e0f1; color:#8995aa; }
.preview-service { color:#33486d; }
.preview-choice { background:#f9fbff; border-color:#dbe5f7; color:#415b89; }
.preview-action { background:#0b30b6; }
.preview-quote-totals>div { border-color:#e2e8f3; }
.preview-quote-totals>div:last-child { color:#0b30b6; }
.customer-mode .tag.blue, body:not(.customer-mode) .tag.blue { background:#eaf0ff; color:#0b30b6; }
.customer-mode .toast { background:#1e315e; }
.customer-mode input[type=file]::file-selector-button { background:#eaf0ff; color:#0b30b6; }
body:not(.customer-mode) .sidebar { background:#fff; border-color:#e2e8f3; box-shadow:3px 0 20px #193a9410; }
body:not(.customer-mode) .workspace, body:not(.customer-mode) .support { background:#f2f5ff; border-color:#e0e8fb; }
body:not(.customer-mode) .workspace-icon { background:#e1eaff; color:#0b30b6; }
body:not(.customer-mode) .brand span { color:#7481a1; }
body:not(.customer-mode) .nav-item { color:#596984; }
body:not(.customer-mode) .nav-item:hover, body:not(.customer-mode) .nav-item[aria-current="page"] { background:#eaf0ff; color:#0b30b6; }
body:not(.customer-mode) .topbar { background:#fff; border-color:#e2e8f3; }
body:not(.customer-mode) .modebar { background:#f0f4ff; border-color:#e0e8fb; color:#607294; }
body:not(.customer-mode) .modebar b { color:#193da7; }
body:not(.customer-mode) .modebar i { background:#ff5255; }
body:not(.customer-mode) .admin-menu-toggle { color:#143aab; border-color:#d6e0f1; }
body:not(.customer-mode) .admin-menu-close { background:#f1f4fb; color:#405279; }
.overview-bar { border-color:#dbe4f4; box-shadow:0 3px 12px #173a9210; }
.overview-icon { border-color:#a8bcf3; }
.overview-icon::after { background:#0b30b6; }
.overview-bar button b, .dashboard-all, .dashboard-stages strong b, .dashboard-task-list button strong,
.dashboard-progress-labels strong, .record-progress-numbers strong, .home-progress-summary { color:#0b30b6; }
.overview-bar button:hover, .dashboard-stages button:hover, .dashboard-task-list button:hover { background:#eff4ff; color:#0b30b6; }
.dashboard-card { background:#fff; border-color:#e1e7f2; }
.dashboard-card.featured { background:#edf2ff; border-color:#d3dfff; }
.dashboard-card.featured strong { color:#0b30b6; }
.dashboard-card em { color:#405fab; }
.dashboard-stages button { background:#f9fbff; border-color:#e5ebf6; }
.dashboard-stages button>i>i, .dashboard-progress-bar::-webkit-progress-value, .record-progress-bar::-webkit-progress-value { background:#214acb; }
.dashboard-progress-bar::-moz-progress-bar, .record-progress-bar::-moz-progress-bar { background:#214acb; }
.dashboard-progress-bar, .dashboard-progress-bar::-webkit-progress-bar, .record-progress-bar, .record-progress-bar::-webkit-progress-bar { background:#e5ebf6; }
.dashboard-row-title:hover { color:#0b30b6; }
.admin-form-notice { background:#f0f4ff; border-color:#d7e2fb; color:#37517e; }
.members-table th { background:#f3f6fc; color:#4d6183; }
.customer-auth-dialog, .member-delete-dialog { border-color:#dce5f4; }
.application-confirm { width:min(620px,calc(100vw - 28px)); max-height:min(86vh,850px); overflow:auto; }
.application-confirm #applicationConfirmBody { display:grid; gap:9px; margin:16px 0; }
.application-confirm .confirm-section { padding:13px 15px; border:1px solid #dfe7f5; border-radius:10px; background:#f9fbff; overflow-wrap:anywhere; }
.application-confirm .confirm-section h3 { margin:0 0 7px; color:#183781; font-size:14px; }
.application-confirm .confirm-section p { margin:4px 0; color:#344365; font-size:13px; white-space:pre-wrap; }
.application-receipt { margin:0 0 14px; padding:15px 18px; background:#edf3ff; color:#123aa8; font-weight:700; }
.form-announcement,.preview-announcement { margin:0 0 14px; padding:14px 17px; border:1px solid #cbdafa; border-radius:10px; background:#edf3ff; color:#173c90; font-size:13px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.notice-board { margin-top:18px; overflow:hidden; border:1px solid #dfe6f3; border-radius:14px; background:#fff; box-shadow:0 6px 24px #1d3e9810; }
.notice-board-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:16px 19px 13px; }
.notice-board-heading h2 { margin:0; color:#202b44; font-size:15px; }
.notice-board-caption { color:#8b98ad; font-size:11px; }
.notice-board-item { border-top:1px solid #e8edf6; }
.notice-board-summary { display:flex; align-items:center; gap:10px; padding:14px 19px; list-style:none; cursor:pointer; }
.notice-board-summary::-webkit-details-marker { display:none; }
.notice-board-summary:focus-visible { outline:2px solid #5276d5; outline-offset:-3px; }
.notice-board-badge { flex:none; border-radius:5px; padding:3px 7px; background:#eaf0ff; color:#123aab; font-size:11px; font-weight:800; }
.notice-board-title { flex:1; min-width:0; overflow:hidden; color:#27354e; font-size:13px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.notice-board-arrow { color:#8190a8; font-size:18px; line-height:1; transition:transform .2s ease; }
.notice-board-item[open] .notice-board-arrow { transform:rotate(180deg); }
.notice-board-content { margin:0; padding:14px 19px 18px; border-top:1px solid #edf1f7; background:#f8faff; color:#52627c; font-size:13px; line-height:1.7; white-space:pre-wrap; overflow-wrap:anywhere; }
.preview-notice-board { margin:12px 0 0; }
.business-scan { display:grid; gap:9px; padding:17px; border:1px solid #d8e3fa; border-radius:12px; background:#f6f9ff; }
.business-scan strong { color:#1d3264; font-size:15px; }
.business-scan p { margin:0; color:#536481; font-size:13px; line-height:1.6; }
.business-scan .business-scan-label { display:grid; gap:7px; color:#173a99; font-weight:700; }
.business-scan input[type=file] { max-width:100%; padding:9px; background:#fff; border:1px solid #d9e2f3; border-radius:8px; color:#3e4d68; font-size:13px; }
.business-scan input[type=file]::file-selector-button { margin-right:10px; padding:8px 12px; border:0; border-radius:6px; background:#1237ae; color:#fff; font-weight:700; cursor:pointer; }
.business-scan #businessScanStatus { color:#123aab; font-weight:700; }
.notice-admin-panel { display:grid; gap:16px; max-width:900px; padding:24px; }
.notice-admin-panel > label:not(.check) { max-width:440px; }
.notice-admin-panel > .hint { margin:0; }
.notice-editors { display:grid; gap:14px; }
.notice-editor-item { display:grid; gap:12px; padding:18px; border:1px solid #dfe6f3; border-radius:12px; background:#fafbff; }
.notice-editor-item .btn { justify-self:start; }
.notice-admin-panel > .btn { justify-self:start; }
.notice-admin-footer { display:flex; justify-content:flex-end; padding-top:12px; border-top:1px solid #e8edf6; }
@media (max-width:600px) { .notice-admin-panel { padding:16px; } .notice-editor-item { padding:14px; } }
@media (max-width:600px) { .notice-board { margin-top:12px; } .notice-board-heading { padding:13px 15px 10px; } .notice-board-summary { padding:12px 15px; } .notice-board-content { padding:12px 15px 15px; } }
.form-closed,.preview-closed { margin:0 0 14px; padding:14px 17px; border:1px solid #f1d4ba; border-radius:10px; background:#fff8ef; color:#8d501c; font-size:13px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.application-receipt p { margin:7px 0; color:#465b83; font-size:13px; font-weight:400; }
.receipt-kakao { display:inline-block; margin-top:4px; color:#0b30b6; font-size:13px; }
.platform-warning { display:block; margin-top:6px; color:#a85812; font-size:12px; }
.attachment-warning { margin:0 0 14px; padding:17px 20px; border-color:#f1d2ab; background:#fff9ef; color:#805219; }
.attachment-warning h2 { font-size:16px; margin:0 0 5px; }
.attachment-warning p { font-size:13px; }
.pending-attachment { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin-top:10px; }
.pending-attachment input { max-width:240px; font-size:12px; }
.attachment-tag { background:#fff4df; color:#89550d; border:1px solid #f3d9a8; }
.customer-change-tag { background:#eaf1ff; color:#103fa9; border:1px solid #c9d9fb; }
.customer-change-panel { margin:0 0 14px; padding:18px 20px; border-color:#cbdaf8; background:#f8faff; }
.customer-change-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.customer-change-heading h2 { margin:0 0 4px; font-size:16px; }
.customer-change-heading p { color:#5a7096; font-size:13px; }
.customer-change-entry { margin-top:14px; border-top:1px solid #dbe5f6; }
.customer-change-entry h3 { margin:11px 0; font-size:13px; color:#294a86; }
.customer-change-row { display:grid; grid-template-columns:minmax(100px,180px) minmax(0,1fr); gap:10px; padding:9px 0; border-top:1px solid #e8edf7; font-size:13px; }
.customer-change-row div { display:grid; gap:4px; color:#52627b; white-space:pre-wrap; overflow-wrap:anywhere; }
.customer-change-row div span:last-child { color:#153d9a; }
@media(max-width:600px) { .customer-change-heading { align-items:flex-start; flex-direction:column; } .customer-change-row { grid-template-columns:1fr; gap:5px; } }
.form-history { margin:0 0 15px; padding:16px 20px; }
.form-history summary { cursor:pointer; font-weight:700; color:#233c73; }
.form-history>p { margin:8px 0; color:#64708a; font-size:12px; }
.form-history-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 0; border-top:1px solid #e3e9f4; }
.form-history-row strong { font-size:13px; }
.form-history-row p { margin:3px 0; }
#draftStatus { flex-basis:100%; }
.application-faq { margin-top:16px; padding:22px; }
.application-faq h2 { margin:0 0 10px; font-size:18px; }
.faq-item { border-top:1px solid #e2e8f3; }
.faq-item summary { cursor:pointer; padding:13px 2px; color:#263655; font-weight:700; }
.faq-item p { margin:0; padding:0 2px 15px; color:#64708a; font-size:13px; line-height:1.6; white-space:pre-wrap; }
.faq-editor-item { display:grid; gap:10px; padding:14px; border:1px solid #dfe6f3; border-radius:10px; }
.faq-editor-item .btn { justify-self:start; }
.new-application-tag { background:#fff0f0; color:#bd353e; border:1px solid #ffd3d3; }
.new-application-card { border-color:#f5cfd2; }
.new-application-notice { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; margin:0 0 12px; background:#fff5f5; color:#9d3039; font-weight:700; }
.application-print-actions { display:flex; justify-content:flex-end; margin-bottom:12px; }
.application-print { color:#20242e; }
.application-print .print-brand { width:150px; height:auto; }
.application-print .print-section { margin-top:18px; break-inside:avoid; }
.application-print .print-section h2 { font-size:16px; padding-bottom:6px; border-bottom:1px solid #cdd8ec; }
.application-print .print-row { display:grid; grid-template-columns:150px 1fr; gap:12px; padding:5px 0; font-size:12px; overflow-wrap:anywhere; white-space:pre-wrap; }
@media screen { .application-print { display:none !important; } }
@media print {
  .customer-change-panel { display:none !important; }
  body.printing-application * { visibility:hidden !important; }
  body.printing-application #applicationPrint, body.printing-application #applicationPrint * { visibility:visible !important; }
  body.printing-application #applicationPrint { position:absolute; left:0; top:0; width:100%; padding:0; }
  body.printing-application .application-print-actions { display:none !important; }
}
.mobile-logo { object-fit:contain; mix-blend-mode:multiply; }
@media (max-width:700px) {
  body:not(.customer-mode) .sidebar .brand img { width:190px; }
  body:not(.customer-mode) .sidebar nav .nav-item[aria-current="page"] { background:#eaf0ff; color:#0b30b6; }
}
@media (max-width:600px) {
  .customer-mode .customer-brand img { width:min(205px, calc(100vw - 144px)); height:60px; }
  .customer-mode .quote-header img { width:125px; max-width:38%; }
}
@media print { body, body.customer-mode { background:#fff; } }

/* Energetic, brand-coloured movement for both customer and admin screens. */
@media screen {
  body.customer-mode {
    background-image:radial-gradient(ellipse at 22% 0%,#dbe6ff 0,transparent 50%),radial-gradient(ellipse at 85% 38%,#e5eaff 0,transparent 43%);
    background-color:#f6f8fc; background-size:150% 150%,150% 150%;
    animation:workmoa-ambient 24s ease-in-out infinite alternate;
  }
  body main>section:not([hidden]):not(#loading),
  body.customer-mode main>section:not([hidden]):not(#loading) {
    animation:workmoa-screen-in 1.25s cubic-bezier(.16,1,.3,1);
  }
  main>section:not([hidden])>.heading,
  main>section:not([hidden])>.dashboard-heading { animation:workmoa-heading-in 1.4s cubic-bezier(.16,1,.3,1); }
  main>section:not([hidden])>.panel,
  main>section:not([hidden])>form.panel,
  main>section:not([hidden])>.notice-board,
  main>section:not([hidden])>.dashboard-grid { animation:workmoa-card-in 1.5s cubic-bezier(.16,1,.3,1); }
  .dashboard-card { animation:workmoa-card-in 1.4s cubic-bezier(.16,1,.3,1) backwards; }
  .dashboard-card:nth-child(2) { animation-delay:.12s; }
  .dashboard-card:nth-child(3) { animation-delay:.24s; }
  .dashboard-card:nth-child(4) { animation-delay:.36s; }
  .dashboard-card:nth-child(5) { animation-delay:.48s; }
  .customer-mode .customer-brand img { animation:workmoa-logo-arrive 1.5s cubic-bezier(.18,.85,.24,1.15),workmoa-logo-float 8s ease-in-out 1.5s infinite; }
  .customer-mode .btn.primary,body:not(.customer-mode) .btn.primary {
    background-image:linear-gradient(110deg,#092daa 10%,#315ce8 48%,#092daa 85%);
    background-size:220% 100%; animation:workmoa-button-glow 8s ease-in-out infinite;
  }
  .customer-mode .btn,body:not(.customer-mode) .btn,.dashboard-card,.nav-item,.notice-board-summary,
  input:not([type=checkbox],[type=radio],[type=file]),textarea,select {
    transition:transform .55s cubic-bezier(.2,.85,.25,1.3),box-shadow .55s,border-color .55s,background-color .55s,color .55s;
  }
  @media (hover:hover) {
    .customer-mode .btn:not(:disabled):hover,body:not(.customer-mode) .btn:not(:disabled):hover { transform:translateY(-3px) scale(1.025); box-shadow:0 10px 22px #123cab30; }
    .dashboard-card:hover { transform:translateY(-6px) scale(1.015); box-shadow:0 14px 30px #153b9224; }
    body:not(.customer-mode) .nav-item:hover { transform:translateX(5px); }
    .notice-board-summary:hover { background:#f1f5ff; }
  }
  .customer-mode .btn:not(:disabled):active,body:not(.customer-mode) .btn:not(:disabled):active { transform:scale(.96); }
  .customer-mode input:not([type=checkbox],[type=radio],[type=file]):focus,
  .customer-mode textarea:focus,.customer-mode select:focus { box-shadow:0 0 0 4px #4d74ef28,0 8px 20px #284baf18; }
  details[open]>.notice-board-content,details[open].faq-item>p { animation:workmoa-reveal .75s cubic-bezier(.16,1,.3,1); }
  dialog[open] { animation:workmoa-dialog-in .8s cubic-bezier(.16,1,.3,1); }
  @keyframes workmoa-screen-in { from { opacity:0; transform:translateY(22px) scale(.985); } to { opacity:1; transform:none; } }
  @keyframes workmoa-heading-in { from { opacity:0; transform:translateX(-26px); } to { opacity:1; transform:none; } }
  @keyframes workmoa-card-in { from { opacity:0; transform:translateY(30px) scale(.975); } to { opacity:1; transform:none; } }
  @keyframes workmoa-logo-arrive { from { opacity:0; transform:translateY(-20px) scale(.82) rotate(-4deg); } to { opacity:1; transform:none; } }
  @keyframes workmoa-logo-float { 0%,100% { transform:translateY(0) rotate(0); } 50% { transform:translateY(-5px) rotate(-1deg); } }
  @keyframes workmoa-ambient { from { background-position:0% 0%,100% 10%; } to { background-position:60% 35%,30% 70%; } }
  @keyframes workmoa-button-glow { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }
  @keyframes workmoa-reveal { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
  @keyframes workmoa-dialog-in { from { opacity:0; transform:translateY(18px) scale(.97); } to { opacity:1; transform:none; } }
  /* The site owner explicitly requested motion even when a phone requests reduced motion. */
  @media (prefers-reduced-motion:reduce) {
    .customer-mode .btn,body:not(.customer-mode) .btn,.dashboard-card,.nav-item,.notice-board-summary,
    input:not([type=checkbox],[type=radio],[type=file]),textarea,select {
      transition:transform .55s cubic-bezier(.2,.85,.25,1.3),box-shadow .55s,border-color .55s,background-color .55s,color .55s !important;
    }
  }
}
