:root { font-family: Inter, Segoe UI, sans-serif; color: #292d2b; background: #eeeee9; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button { font: inherit; }
.topbar { height: 64px; padding: 0 max(20px, calc((100vw - 1120px)/2)); display:flex; align-items:center; justify-content:space-between; background:#343936; color:#f3f3ef; }
.topbar > div { display:flex; gap:10px; align-items:center; font-size:20px; }
.logo { display:grid; place-items:center; width:34px; height:34px; border-radius:11px; background:#aab4ab; color:#29302c; font-weight:800; }
.profile { border:1px solid #626863; background:#434945; color:#eee; padding:9px 13px; border-radius:9px; }
.top-actions { display:flex; align-items:center; gap:9px; }.sync-state { font-size:11px; color:#c9cec9; }.sync-synced { color:#b8d3bf; }.sync-offline { color:#dac49e; }.sync-conflict { color:#e0a8a3; }
.signed-user { display:grid; line-height:1.15; font-size:13px; }.signed-user strong,.signed-user small { display:block; }.signed-user small { margin-top:3px; color:#bfc5c0; font-size:10px; }.logout-button { padding:8px 10px; border:1px solid #626863; border-radius:8px; background:#414743; color:#e8e9e5; }
.notification-button { position:relative; padding:8px 10px; border:1px solid #626863; border-radius:8px; background:#414743; color:#e8e9e5; }.notification-button b { position:absolute; top:-7px; right:-7px; display:grid; place-items:center; min-width:19px; height:19px; padding:0 4px; border-radius:99px; background:#9a6f69; color:white; font-size:10px; }.notification-panel { display:grid; gap:12px; margin-bottom:22px; padding:18px; border:1px solid #cdd1cb; border-radius:13px; background:#e3e5df; }.notification-head { display:flex; justify-content:space-between; gap:12px; align-items:start; }.notification-head h2 { margin:5px 0 0; }.notification-list { display:grid; gap:7px; }.notification-list article { display:grid; grid-template-columns:9px 1fr auto; gap:10px; align-items:center; padding:11px; border-radius:10px; background:#f2f1ec; }.notification-list article > span { width:9px; height:9px; border-radius:50%; background:#8c958e; }.notification-list article.notification-today > span { background:#a28265; }.notification-list article.notification-overdue > span { background:#a36f69; }.notification-list strong,.notification-list small { display:block; }.notification-list small { margin-top:3px; color:#747a75; }.notification-list article > button { border:0; background:transparent; color:#777; font-size:20px; }
.account-page { min-height:100vh; display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:clamp(35px,8vw,120px); padding:clamp(28px,7vw,90px); background:radial-gradient(circle at 18% 25%,#4a534d 0,#353b37 38%,#292e2b 100%); color:#f0f1ed; }.account-brand { max-width:570px; }.account-brand h1 { max-width:540px; margin:20px 0 14px; font-size:clamp(36px,5vw,66px); line-height:1.02; }.account-brand p { max-width:480px; color:#bec5bf; font-size:17px; line-height:1.6; }.account-brand .eyebrow { color:#aeb9b0; }.account-logo { display:grid; place-items:center; width:68px; height:68px; margin-bottom:30px; border:1px solid #879189; border-radius:22px; background:#aeb9b0; box-shadow:0 20px 60px #1118; color:#2c332f; font-size:32px; font-weight:800; }.account-card { width:100%; max-width:450px; justify-self:end; padding:30px; border:1px solid #ffffff20; border-radius:22px; background:#f1f0eacc; box-shadow:0 28px 75px #10141066; color:#343936; backdrop-filter:blur(16px); }.account-tabs { display:grid; grid-template-columns:1fr 1.4fr; gap:5px; margin-bottom:22px; padding:4px; border-radius:11px; background:#dcded8; }.account-tabs button { padding:10px 8px; border:0; border-radius:8px; background:transparent; color:#69706b; }.account-tabs button.selected { background:#f7f6f1; box-shadow:0 2px 8px #2e332f1c; color:#343936; font-weight:650; }.account-card label { display:grid; gap:7px; margin-top:13px; color:#666e68; font-size:12px; }.account-card input { width:100%; padding:13px 14px; border:1px solid #c5cac4; border-radius:10px; outline:none; background:#f8f7f2; color:#303632; font:inherit; }.account-card input:focus { border-color:#77867b; box-shadow:0 0 0 3px #78887c1f; }.account-submit { width:100%; margin-top:18px; padding:13px; border:0; border-radius:10px; background:#5e6c62; color:white; font-weight:650; }.account-submit:disabled { opacity:.6; }.account-card > small { display:block; margin-top:12px; color:#747b76; line-height:1.45; }.account-error { margin-top:13px; color:#9b5f5a; font-size:13px; }
.shell { max-width:1120px; margin:auto; padding:34px 20px 70px; }
.intro { display:flex; justify-content:space-between; gap:20px; align-items:end; }
.eyebrow,.status { color:#727a74; font-size:11px; letter-spacing:.12em; font-weight:700; }
h1 { margin:7px 0 3px; font-size:30px; } p { margin:0; color:#737873; }
.primary { border:0; border-radius:9px; background:#657269; color:white; padding:12px 17px; }
.secondary { border:1px solid #bfc4be; border-radius:9px; background:#e5e6e1; color:#4c544f; padding:11px 16px; }.intro-actions { display:flex; gap:8px; }
.crew-panel { margin-top:22px; padding:17px; background:#e3e5df; border:1px solid #cdd1cb; border-radius:13px; }
.employee-panel { margin-top:22px; padding:18px; border:1px solid #cdd1cb; border-radius:13px; background:#e3e5df; }.employee-heading { display:flex; justify-content:space-between; gap:15px; align-items:start; }.employee-heading h2 { margin:5px 0 3px; font-size:20px; }.employee-heading > strong { padding:7px 10px; border-radius:9px; background:#d4d8d2; color:#5f6962; }.employee-create { display:grid; grid-template-columns:1.1fr 1.2fr 1fr .75fr .85fr auto; gap:8px; margin-top:16px; }.employee-create input,.employee-create select,.employee-list select { min-width:0; padding:10px; border:1px solid #c2c7c1; border-radius:8px; background:#f5f4ef; }.employee-list { display:grid; gap:7px; margin-top:14px; }.employee-list article { display:grid; grid-template-columns:minmax(170px,1fr) minmax(115px,.55fr) minmax(115px,.55fr) auto auto; gap:9px; align-items:center; padding:11px; border-radius:10px; background:#f2f1ec; }.employee-list article.inactive { opacity:.62; }.employee-identity strong,.employee-identity small { display:block; }.employee-identity small { margin-top:4px; color:#747a75; }.role-badge,.account-state { color:#657069; font-size:12px; }.active-toggle { display:flex; align-items:center; gap:6px; color:#666e68; font-size:12px; }.active-toggle input { width:17px; height:17px; }
.employee-password { grid-column:1/-1; display:flex; justify-content:flex-end; gap:7px; }.employee-password input { width:min(240px,100%); padding:9px; border:1px solid #c2c7c1; border-radius:8px; background:#f5f4ef; }.account-security-panel { display:grid; gap:14px; margin-bottom:22px; padding:18px; border:1px solid #cdd1cb; border-radius:13px; background:#e3e5df; }.account-security-panel h2 { margin:5px 0 3px; }.password-form { display:grid; grid-template-columns:1fr 1fr 1fr auto; gap:8px; }.password-form input { min-width:0; padding:10px; border:1px solid #c2c7c1; border-radius:8px; background:#f5f4ef; }
.crew-form { display:grid; grid-template-columns:1fr 1.2fr 1.5fr auto; gap:10px; align-items:end; }.crew-form label { display:grid; gap:6px; color:#687069; font-size:12px; }.crew-form input { min-width:0; padding:10px; border:1px solid #c2c7c1; border-radius:8px; background:#f5f4ef; }
.crew-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:8px; margin-top:13px; }.crew-list article { display:flex; justify-content:space-between; gap:10px; padding:11px; border-radius:9px; background:#f2f1ec; }.crew-list strong,.crew-list small { display:block; }.crew-list small { margin-top:4px; color:#747a75; }.crew-list > article > span { color:#69716b; font-size:12px; }
.template-panel { margin-top:22px; padding:17px; background:#e3e5df; border:1px solid #cdd1cb; border-radius:13px; }.template-toolbar { display:grid; grid-template-columns:1fr 1.4fr auto auto; gap:8px; align-items:end; }.template-toolbar label { display:grid; gap:6px; color:#687069; font-size:12px; }.template-toolbar input,.template-toolbar select,.template-title-row input,.template-stage-list input,.template-add-stage input { min-width:0; padding:10px; border:1px solid #c2c7c1; border-radius:8px; background:#f5f4ef; }.danger-button { padding:11px 13px; border:1px solid #bd928e; border-radius:8px; background:#eee1df; color:#8b5d59; }.template-title-row { display:grid; grid-template-columns:1fr auto; gap:12px; align-items:center; margin-top:13px; }.template-title-row strong { font-size:22px; }.template-stage-list { display:grid; gap:6px; margin-top:10px; }.template-stage-list article { display:grid; grid-template-columns:24px 1fr 90px 15px auto; gap:7px; align-items:center; }.template-stage-list article > span { color:#747a75; text-align:center; }.danger-link { border:0; background:transparent; color:#9a6763; }.template-add-stage { display:grid; grid-template-columns:1fr 100px auto; gap:8px; margin-top:10px; }
.stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); gap:12px; margin:27px 0 18px; }
.stats article,.project-card { background:#f8f7f3; border:1px solid #d6d7d1; border-radius:14px; }
.stats article { padding:17px; display:flex; flex-direction:column; gap:7px; color:#747975; }
.stats strong { font-size:25px; color:#303532; }
.stats strong.money-stat { font-size:18px; }
.dashboard-filters { display:grid; grid-template-columns:2fr 1fr 1fr; gap:9px; margin:25px 0 10px; }.dashboard-filters input,.dashboard-filters select { min-width:0; padding:11px; border:1px solid #c9cdc7; border-radius:9px; background:#f6f5f0; color:#3c423e; }
.create-project { display:grid; grid-template-columns:repeat(auto-fit,minmax(135px,1fr)); gap:10px; align-items:end; margin-top:22px; padding:17px; background:#e3e5df; border:1px solid #cdd1cb; border-radius:13px; }
.create-project label { display:grid; gap:6px; color:#687069; font-size:12px; }
.create-project input,.create-project select { min-width:0; width:100%; padding:10px; border:1px solid #c2c7c1; border-radius:8px; background:#f5f4ef; }
.form-error { align-self:center; color:#a36f69; font-size:12px; }
.empty-state { display:grid; justify-items:center; text-align:center; padding:60px 20px; background:#f8f7f3; border:1px dashed #c8cbc5; border-radius:15px; }
.empty-state h2 { margin:14px 0 6px; }.empty-state p { max-width:470px; margin-bottom:20px; }
.empty-symbol { display:grid; place-items:center; width:62px; height:62px; border-radius:20px; background:#77847a; color:white; font-size:28px; font-weight:800; }
.project-tabs { display:flex; gap:8px; margin-bottom:14px; overflow-x:auto; padding-bottom:3px; }
.project-tabs button { min-width:205px; display:grid; gap:4px; text-align:left; border:1px solid #d0d2cc; border-radius:10px; padding:11px 13px; background:#e7e7e2; color:#3d423f; }
.project-tabs button.selected { border:2px solid #7d8b80; background:#dce1dc; font-weight:600; }
.project-tabs small { color:#727873; }
.site-groups { display:grid; gap:10px; margin-bottom:14px; }.site-group { padding:12px; background:#e4e5e0; border:1px solid #cfd2cc; border-radius:12px; }.site-group > header { display:flex; justify-content:space-between; gap:12px; margin-bottom:9px; }.site-group > header strong,.site-group > header small { display:block; }.site-group > header small { margin-top:3px; color:#747a75; }.site-group > header > span { color:#707772; font-size:12px; }.site-group .project-tabs { margin:0; }
.site-group > header > span { display:grid; justify-items:end; gap:3px; }.archive-panel { margin:-5px 0 14px; padding:10px 12px; border:1px solid #cfd2cc; border-radius:10px; background:#e8e8e3; color:#69706b; }.archive-panel summary { cursor:pointer; }.archive-panel div { display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; }.archive-panel button { padding:7px 9px; border:1px solid #c8ccc6; border-radius:7px; background:#f3f2ed; color:#535b55; }
.overdue-number,.status-overdue { color:#a36f69 !important; }
.status-completed { color:#637b69 !important; }.status-planned { color:#777c78 !important; }
.pricing-card { display:grid; grid-template-columns:1.4fr .65fr .75fr auto; gap:12px; align-items:end; margin-bottom:18px; padding:18px; background:#f8f7f3; border:1px solid #d6d7d1; border-radius:14px; }
.pricing-card h2 { margin:5px 0 3px; font-size:18px; }
.pricing-card label { display:grid; gap:6px; color:#737873; font-size:12px; }
.pricing-card input { width:100%; padding:10px; border:1px solid #c8ccc6; border-radius:8px; background:#efefeb; }
.save-price { padding:11px 14px; border:0; border-radius:8px; background:#657269; color:white; }
.save-price:disabled { opacity:.45; }
.money { grid-column:1/-1; display:flex; gap:24px; padding-top:12px; border-top:1px solid #dddeda; color:#777c78; }
.money b { margin-left:7px; color:#39403b; }
.percentage-editor { margin-bottom:18px; padding:18px; background:#f8f7f3; border:1px solid #d6d7d1; border-radius:14px; }
.percentage-head { display:flex; justify-content:space-between; gap:20px; }.percentage-head h2 { margin:5px 0 3px; font-size:18px; }
.percentage-head > strong { font-size:25px; }.valid-total { color:#637368; }.invalid-total { color:#a36f69; }
.percentage-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:9px; margin-top:16px; }
.percentage-grid label { display:grid; grid-template-columns:1fr 74px; gap:8px; align-items:center; padding:9px 10px; background:#ecece7; border-radius:9px; font-size:13px; }
.percentage-grid input { min-width:0; width:100%; padding:8px; border:1px solid #c6cac4; border-radius:7px; background:#f8f7f3; }
.percentage-actions { display:flex; justify-content:flex-end; align-items:center; gap:14px; margin-top:13px; }.validation-text { color:#657269; font-size:13px; }
.payment-card { margin-bottom:18px; padding:18px; background:#f8f7f3; border:1px solid #d6d7d1; border-radius:14px; }.payment-head h2 { margin:5px 0 3px; font-size:18px; }
.balance-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:15px; }.balance-grid article { display:grid; gap:5px; padding:13px; background:#ecece7; border-radius:9px; }.balance-grid span,.balance-grid small { color:#737974; }.balance-grid strong { font-size:20px; }
.payment-form { display:grid; grid-template-columns:.8fr .7fr 1.5fr auto; gap:8px; margin-top:12px; }.payment-form input,.payment-form select { min-width:0; padding:10px; border:1px solid #c6cac4; border-radius:8px; background:#f2f1ec; }
.payment-history { display:grid; margin-top:12px; border-top:1px solid #dddeda; }.payment-history article { padding:9px 2px; border-bottom:1px solid #e3e4df; }.payment-history strong,.payment-history small { display:block; }.payment-history small { margin-top:3px; color:#777c78; }
.cards { display:grid; grid-template-columns:1.35fr .85fr; gap:16px; }
.project-card { padding:21px; }
.card-head { display:flex; justify-content:space-between; gap:16px; }
.percent-column { display:grid; justify-items:end; align-content:start; gap:5px; }
.card-head h2 { margin:7px 0 4px; font-size:19px; }
.percent { font-size:26px; color:#657269; }
.progress { height:8px; margin:19px 0; border-radius:99px; overflow:hidden; background:#dedfd9; }
.progress i { height:100%; display:block; background:#7d8b80; border-radius:99px; }
ul { margin:0; padding:0; list-style:none; display:grid; gap:8px; }
li { display:grid; grid-template-columns:25px 1fr auto; align-items:center; gap:8px; padding:10px; background:#eeeeea; border-radius:9px; }
li input[type=checkbox] { appearance:none; width:21px; height:21px; margin:0; border:1px solid #aeb4af; border-radius:6px; cursor:pointer; }
li input[type=checkbox]:checked { background:#77847a; border-color:#77847a; }
li input[type=checkbox]:checked:after { content:'\2713'; display:block; color:white; text-align:center; line-height:19px; font-size:14px; }
li.done { color:#555c57; }
li b { font-size:13px; color:#747b76; }
.stage-approval { grid-template-columns:minmax(170px,1fr) repeat(3,auto); }.stage-approval .stage-title small { display:block; margin-top:4px; color:#747b76; }.stage-approval label { display:flex; align-items:center; gap:5px; font-size:11px; color:#6e756f; }.stage-approval label input { flex:0 0 auto; }
.project-editor { margin-top:14px; padding:16px; border:1px solid #cbd0ca; border-radius:13px; background:#e8e9e4; }.project-editor-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }.project-editor-head h2 { margin:3px 0 0; }.project-editor-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:14px; }.project-editor-grid label { display:grid; gap:6px; color:#687069; font-size:12px; }.project-editor-grid input { min-width:0; padding:10px; border:1px solid #c2c7c1; border-radius:8px; background:#f5f4ef; }.project-editor-grid .save-price { align-self:end; }
.placeholder { color:#707772; padding:14px 0 4px; }
.extra-form { display:flex; gap:7px; margin-top:19px; }
.extra-form input { min-width:0; flex:1; padding:11px; border:1px solid #ccd0ca; border-radius:8px; background:#efefeb; }
.extra-form.expanded { display:grid; grid-template-columns:1fr 105px auto auto; }.extra-form textarea { grid-column:1/-1; min-height:68px; resize:vertical; padding:11px; border:1px solid #ccd0ca; border-radius:8px; background:#efefeb; font:inherit; }
.photo-picker { display:grid; place-items:center; padding:9px 12px; border:1px solid #c5cac4; border-radius:8px; color:#626b64; cursor:pointer; }.photo-picker input { display:none; }
.extra-form input.extra-price { flex:0 1 105px; }
.extra-form button { border:0; border-radius:8px; padding:0 12px; background:#6d786f; color:white; }
.extra-list { margin-top:12px; }
.extra-list li { grid-template-columns:25px 1fr auto; align-items:start; }
.extra-dot { width:8px; height:8px; border-radius:50%; background:#9a8170; }
.extra-list span small { display:block; margin-top:3px; color:#757b76; }
.extra-content strong { display:block; }.extra-content img { display:block; width:100%; max-width:240px; max-height:150px; object-fit:cover; margin-top:8px; border-radius:8px; }.extra-controls { display:grid; justify-items:end; gap:5px; }.extra-controls button { border:0; background:transparent; padding:2px; color:#69736c; font-size:11px; }.extra-controls .danger-link { color:#9a6763; }
.extra-totals { display:flex; justify-content:space-between; gap:12px; margin-top:13px; padding-top:12px; border-top:1px solid #dddeda; color:#737974; font-size:12px; }
.extra-totals b { display:block; margin-top:3px; color:#39403b; font-size:15px; }
.history-card { margin-top:18px; padding:20px; background:#f8f7f3; border:1px solid #d6d7d1; border-radius:14px; }
.history-card h2 { margin:5px 0 16px; font-size:18px; }
.history-list { display:grid; }
.history-list article { display:grid; grid-template-columns:14px 1fr; gap:10px; padding:11px 0; border-top:1px solid #e0e1dc; }
.history-mark { width:8px; height:8px; margin-top:5px; border-radius:50%; background:#7d8b80; }
.history-list strong,.history-list small { display:block; }
.history-list strong { font-size:14px; font-weight:600; }
.history-list small { margin-top:4px; color:#777c78; }
@media (max-width:760px) { .account-page { grid-template-columns:1fr; align-content:center; padding:28px 18px; }.account-brand h1 { font-size:38px; }.account-brand p { font-size:14px; }.account-logo { width:54px; height:54px; margin-bottom:20px; }.account-card { justify-self:stretch; padding:22px; }.stats { grid-template-columns:1fr 1fr; } .cards { grid-template-columns:1fr; } .intro { align-items:start; flex-direction:column; } .intro-actions { width:100%; flex-wrap:wrap; }.intro-actions button { flex:1; }.primary { width:100%; } .topbar { height:auto; min-height:64px; padding:9px 16px; }.topbar > div:first-child strong { display:none; }.signed-user { max-width:110px; }.profile { font-size:12px; max-width:180px; } .employee-create,.employee-list article,.pricing-card,.create-project,.crew-form,.dashboard-filters,.payment-form { grid-template-columns:1fr 1fr; }.employee-create input:first-child,.employee-list .employee-identity { grid-column:1/-1; } .dashboard-filters input,.pricing-card > div:first-child,.money,.create-project label:first-child,.crew-form label:nth-child(3),.payment-form input:nth-child(3) { grid-column:1/-1; } .balance-grid { grid-template-columns:1fr; } .stage-approval { grid-template-columns:1fr 1fr; }.stage-approval .stage-title { grid-column:1/-1; } }

html { scroll-behavior:smooth; }
.mobile-nav { display:none; }
.install-panel { display:grid; grid-template-columns:1fr auto; gap:15px; align-items:center; margin:0 0 22px; padding:18px; border:1px solid #cdd1cb; border-radius:13px; background:#e3e5df; }.install-panel h2 { margin:5px 0 3px; }.install-hint { max-width:480px; }
@media (max-width:760px) {
    body { padding-bottom:calc(72px + env(safe-area-inset-bottom)); }
    button,a,input,select,textarea { touch-action:manipulation; }
    button,.mobile-nav a { min-height:44px; }
    .shell { padding:24px 14px 35px; }
    .topbar { position:sticky; top:0; z-index:20; gap:8px; }
    .top-actions { gap:5px; }.top-actions .sync-state { display:none; }.top-actions .logout-button { padding:7px 8px; font-size:11px; }.notification-button { display:none; }
    .intro h1 { font-size:26px; }.intro-actions { display:grid; grid-template-columns:1fr 1fr; }.intro-actions .primary { grid-column:1/-1; }
    .stats { gap:8px; }.stats article { padding:13px; }.stats strong { font-size:21px; }
    .pricing-card,.payment-card,.percentage-editor,.project-card,.history-card { padding:15px; }
    .pricing-card { grid-template-columns:1fr 1fr; }.pricing-card .save-price { width:100%; }
    .money { display:grid; gap:8px; }.money span { display:flex; justify-content:space-between; }
    .payment-form { grid-template-columns:1fr; }.payment-form > * { grid-column:1!important; }
    .stage-approval { padding:12px; }.stage-approval label { min-height:38px; font-size:12px; }
    .extra-form.expanded { grid-template-columns:1fr 1fr; }.extra-form.expanded textarea { grid-column:1/-1; }.extra-list li { grid-template-columns:24px 1fr; }.extra-controls { grid-column:1/-1; grid-auto-flow:column; justify-content:end; }
    .employee-panel,.account-security-panel,.notification-panel,.install-panel { margin-left:0; margin-right:0; padding:14px; }.install-panel { grid-template-columns:1fr; }.password-form { grid-template-columns:1fr; }
    .employee-create { grid-template-columns:1fr; }.employee-create > * { grid-column:1!important; }.employee-list article { grid-template-columns:1fr 1fr; }.employee-list .employee-identity,.employee-password { grid-column:1/-1; }
    .template-toolbar,.template-title-row,.template-add-stage { grid-template-columns:1fr; }.template-toolbar > *,.template-title-row > *,.template-add-stage > * { grid-column:1!important; }.template-stage-list article { grid-template-columns:24px minmax(0,1fr) 72px auto; }.template-stage-list article > span { display:none; }
    .project-editor-grid { grid-template-columns:1fr 1fr; }.project-editor-grid .save-price,.project-editor-grid .form-error { grid-column:1/-1; }
    .percentage-head,.percentage-actions,.notification-head { align-items:stretch; flex-direction:column; }.percentage-actions button,.notification-head button { width:100%; }.percentage-grid { grid-template-columns:1fr; }
    .crew-form { grid-template-columns:1fr; }.crew-form > * { grid-column:1!important; }.crew-list { grid-template-columns:1fr; }
    .project-tabs button { min-width:170px; }.site-group { padding:10px; }.site-group > header { align-items:start; flex-direction:column; }.site-group > header > span { justify-items:start; }
    .extra-totals { flex-direction:column; }.notification-list article { grid-template-columns:9px minmax(0,1fr) auto; }
    .mobile-nav { position:fixed; z-index:50; left:0; right:0; bottom:0; display:grid; grid-template-columns:repeat(4,1fr); padding:6px 8px calc(6px + env(safe-area-inset-bottom)); border-top:1px solid #c7cbc5; background:#f4f3eeeF; box-shadow:0 -8px 28px #252a2720; backdrop-filter:blur(14px); }
    .mobile-nav a,.mobile-nav button { position:relative; display:grid; justify-items:center; align-content:center; gap:2px; border:0; background:transparent; color:#5f6761; text-decoration:none; font-size:10px; }.mobile-nav span { font-size:18px; line-height:1; }.mobile-nav b { position:absolute; top:0; right:18%; display:grid; place-items:center; min-width:17px; height:17px; padding:0 3px; border-radius:99px; background:#9a6f69; color:white; font-size:9px; }
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.password-field { position:relative; display:block; }
.password-field input { padding-right:92px; }
.password-field button { position:absolute; top:50%; right:7px; min-height:32px; padding:5px 9px; transform:translateY(-50%); border:0; border-radius:7px; background:#e2e4de; color:#59615b; font-size:11px; }

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
.account-link { background: transparent; border: 0; color: var(--muted); cursor: pointer; padding: .7rem 0; text-decoration: underline; }
.recovery-code-panel { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.recovery-code { display: block; font-family: ui-monospace, Consolas, monospace; font-size: 1.35rem; font-weight: 700; letter-spacing: .08em; margin-top: .8rem; user-select: all; }
.sync-conflict-banner { align-items: center; background: #e7ddd0; border: 1px solid #aa8f70; border-radius: 14px; color: #514537; display: flex; gap: 1rem; justify-content: space-between; margin: 1rem auto 0; max-width: 1180px; padding: .8rem 1rem; }
.sync-conflict-banner button { background: transparent; border: 1px solid currentColor; border-radius: 9px; color: inherit; cursor: pointer; padding: .35rem .65rem; }
.about-aura-panel { background:#e5e6e1; border:1px solid #c5c9c3; border-radius:18px; margin:18px 0; padding:22px; }
.about-heading { align-items:start; display:flex; justify-content:space-between; gap:16px; }
.about-heading h2 { margin:.25rem 0; }.about-heading p { color:#707873; margin:0; }
.about-grid { display:grid; gap:10px; grid-template-columns:repeat(4,1fr); margin-top:18px; }
.about-grid article { background:#f0f0eb; border-radius:12px; padding:14px; }.about-grid p { color:#68706b; font-size:13px; line-height:1.45; margin:.45rem 0 0; }
.about-diagnostics { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:18px; }.about-diagnostics span { color:#68706b; font-size:13px; }
.about-hint { border-top:1px solid #c5c9c3; color:#68706b; font-size:13px; margin:16px 0 0; padding-top:14px; }
@media (max-width:900px) { .about-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:560px) { .about-grid { grid-template-columns:1fr; }.about-heading { flex-direction:column; } }

/* Aura 2026 — approved enterprise desktop/mobile visual system */
:root {
    --aura-navy:#111d2b;
    --aura-navy-soft:#19283a;
    --aura-blue:#154a91;
    --aura-canvas:#f4f6f8;
    --aura-card:#ffffff;
    --aura-line:#dce2e8;
    --aura-text:#182231;
    --aura-muted:#6d7785;
    --aura-copper:#c8784c;
    --aura-green:#239554;
}
html { scroll-behavior:smooth; }
body { background:var(--aura-canvas); color:var(--aura-text); }
.desktop-sidebar { position:fixed; inset:0 auto 0 0; z-index:20; display:flex; width:208px; flex-direction:column; background:var(--aura-navy); color:#dbe3ec; box-shadow:1px 0 0 #ffffff12; }
.sidebar-brand { display:flex; height:112px; align-items:center; gap:13px; padding:12px 14px; color:white; text-decoration:none; }
.sidebar-brand img { width:82px; height:82px; border:0; border-radius:0; object-fit:contain; background:transparent; box-shadow:none; image-rendering:pixelated; }
.sidebar-brand strong { font-size:22px; letter-spacing:.04em; }
.desktop-sidebar nav { display:grid; gap:3px; padding:16px 9px; }
.desktop-sidebar nav a,.sidebar-settings { display:flex; min-height:46px; align-items:center; gap:12px; padding:0 13px; border-left:3px solid transparent; border-radius:5px; color:#bac5d1; text-decoration:none; font-size:14px; }
.desktop-sidebar nav a span,.sidebar-settings span { display:grid; width:22px; place-items:center; font-size:18px; color:#9eacba; }
.desktop-sidebar nav a:hover,.desktop-sidebar nav a.selected { border-left-color:var(--aura-copper); background:#ffffff0e; color:#fff; }
.sidebar-settings { margin:auto 9px 18px; }
.topbar { position:sticky; top:0; z-index:15; height:64px; margin-left:208px; padding:0 24px; border-bottom:1px solid #ffffff13; background:var(--aura-navy); }
.topbar-context .logo,.topbar-context > strong { display:none; }
.desktop-search { display:block; width:330px; padding:9px 13px; border:1px solid #ffffff20; border-radius:7px; color:#9facb9; font-size:12px; }
.top-actions { gap:12px; }
.top-actions { min-height:42px; gap:7px; padding:4px; border:1px solid #ffffff12; border-radius:10px; background:#0a1624aa; }
.sync-state { position:relative; padding:0 10px 0 22px; color:#b8c5d2; font-size:10px; white-space:nowrap; }
.sync-state::before { content:''; position:absolute; left:9px; top:50%; width:7px; height:7px; transform:translateY(-50%); border-radius:50%; background:#66c58a; box-shadow:0 0 0 3px #66c58a18; }
.notification-button,.logout-button { min-height:34px; padding:7px 10px; border:1px solid #ffffff16; border-radius:7px; background:#ffffff08; color:#dbe4ed; font-size:11px; transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease; }
.notification-button:hover,.logout-button:hover { border-color:#ffffff2b; background:#ffffff11; color:#fff; }
.notification-button { position:relative; padding-left:27px; }
.notification-button::before { content:'◷'; position:absolute; left:9px; color:#9fb0c1; font-size:14px; }
.signed-user { position:relative; min-width:150px; padding:3px 11px 3px 39px; border-left:1px solid #ffffff12; }
.signed-user::before { content:attr(data-initial); position:absolute; left:9px; top:50%; display:grid; width:24px; height:24px; transform:translateY(-50%); place-items:center; border-radius:50%; background:linear-gradient(145deg,#dbe3ec,#9eacba); color:#172434; font-size:0; font-weight:700; }
.signed-user::after { content:'A'; position:absolute; left:17px; top:50%; transform:translateY(-50%); color:#172434; font-size:10px; font-weight:800; }
.signed-user strong { color:#f1f4f7; font-size:11px; }.signed-user small { color:#8fa0b2; font-size:9px; }
.security-button { color:#b9c7d5; }.exit-button { border-color:#c8784c33; color:#d9b09a; }
.shell { max-width:none; margin-left:208px; padding:28px 28px 88px; }
.intro { align-items:center; }
.intro .eyebrow { color:#8b96a3; }
.intro h1 { color:var(--aura-text); font-size:29px; }
.primary,.save-price,.extra-form button { background:var(--aura-blue); }
.secondary { border-color:var(--aura-line); background:var(--aura-card); color:#465262; }
.stats article,.project-card,.history-card,.pricing-card,.percentage-editor,.payment-card { border-color:var(--aura-line); border-radius:8px; background:var(--aura-card); box-shadow:0 1px 2px #15283b0a; }
.stats { gap:10px; margin-top:22px; }
.stats article { padding:15px; }
.stats strong { color:var(--aura-text); }
.dashboard-filters input,.dashboard-filters select,.create-project input,.create-project select,.project-editor-grid input,.pricing-card input,.percentage-grid input,.payment-form input,.payment-form select,.extra-form input,.extra-form textarea { border-color:var(--aura-line); background:#fff; }
.site-group,.project-editor,.crew-panel,.employee-panel,.template-panel,.notification-panel { border-color:var(--aura-line); border-radius:8px; background:#eef2f5; }
.project-tabs button { border-color:var(--aura-line); border-radius:7px; background:#fff; }
.project-tabs button.selected { border:1px solid #91abd0; box-shadow:inset 3px 0 var(--aura-blue); background:#f3f7fc; color:#173b6e; }
.progress { background:#e8edf1; }
.progress i { background:var(--aura-green); }
.percent { color:var(--aura-blue); }
li { border:1px solid #e7ebef; border-radius:7px; background:#f8fafb; }
li input[type=checkbox]:checked { border-color:var(--aura-green); background:var(--aura-green); }
.mobile-nav { display:none; }

@media (max-width:900px) {
    .desktop-sidebar { display:none; }
    .topbar { position:sticky; height:58px; margin-left:0; padding:7px 14px; }
    .topbar-context .logo,.topbar-context > strong { display:grid; }
    .topbar-context > strong { font-size:17px; }
    .desktop-search,.sync-state,.logout-button,.signed-user small { display:none !important; }
    .notification-button { padding:7px 9px; }
    .notification-button span { font-size:0; }
    .notification-button span::after { content:'!'; font-size:15px; }
    .shell { margin-left:0; padding:18px 14px 92px; }
    .intro { gap:12px; }
    .intro h1 { font-size:24px; }
    .intro-actions { display:grid; grid-template-columns:1fr 1fr; }
    .dashboard-filters { grid-template-columns:1fr; }
    .stats { grid-template-columns:1fr 1fr; }
    .cards { grid-template-columns:1fr; }
    .site-group { padding:10px; }
    .project-tabs button { min-width:175px; }
    .pricing-card,.payment-form,.project-editor-grid,.password-form { grid-template-columns:1fr; }
    .percentage-grid { grid-template-columns:1fr; }
    .stage-approval { grid-template-columns:1fr; gap:9px; }
    .stage-approval label { min-height:38px; }
    .extra-form.expanded { grid-template-columns:1fr 1fr; }
    .extra-form.expanded input:first-child,.extra-form.expanded textarea { grid-column:1/-1; }
    .mobile-nav { position:fixed; inset:auto 0 0; z-index:30; display:grid; grid-template-columns:repeat(5,1fr); min-height:68px; padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left)); border-top:1px solid #ffffff18; background:var(--aura-navy); box-shadow:0 -8px 24px #14203318; }
    .mobile-nav a,.mobile-nav button { position:relative; display:grid; place-items:center; gap:2px; min-width:0; padding:3px; border:0; background:transparent; color:#aebaca; text-decoration:none; font-size:10px; }
    .mobile-nav a span,.mobile-nav button span { font-size:19px; }
    .mobile-nav a:first-child { color:#fff; }
    .mobile-nav a:first-child::before { content:''; position:absolute; top:-7px; width:34px; height:2px; background:var(--aura-copper); }
}

@media (max-width:520px) {
    .top-actions { gap:6px; }
    .signed-user { max-width:105px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .intro-actions { grid-template-columns:1fr; }
    .stats { grid-template-columns:1fr 1fr; gap:8px; }
    .stats article { padding:12px; }
    .stats strong { font-size:21px; }
    .project-card,.history-card,.pricing-card,.percentage-editor,.payment-card { padding:15px; }
    .card-head { align-items:start; }
    .money,.extra-totals { flex-direction:column; gap:8px; }
    .balance-grid { grid-template-columns:1fr; }
}

/* Approved Aura sign-in experience */
.account-page { min-height:100vh; grid-template-columns:minmax(330px,1.05fr) minmax(360px,.75fr); padding:clamp(32px,7vw,96px); background:linear-gradient(128deg,#111d2b 0%,#18283a 58%,#eef2f5 58%,#f7f8f9 100%); color:#fff; }
.account-brand { max-width:620px; }
.account-brandmark { display:flex; align-items:center; gap:20px; margin:-22px 0 34px -22px; }
.account-brandmark::before { content:none; }
.account-brandmark img { width:156px; height:156px; border:0; border-radius:0; object-fit:contain; background:transparent; box-shadow:none; filter:none; mix-blend-mode:normal; }
.account-brandmark strong { color:#fff; font-size:30px; letter-spacing:.08em; }
.account-brand .eyebrow { color:#c8784c; }
.account-brand h1 { margin:18px 0; color:#fff; font-size:clamp(39px,5vw,68px); line-height:1.03; letter-spacing:-.035em; }
.account-brand h1:focus { outline:none; }
.account-brand p { max-width:560px; color:#b7c2ce; font-size:16px; line-height:1.65; }
.account-card { max-width:470px; padding:32px; border:1px solid #dce2e8; border-radius:14px; background:#fff; box-shadow:0 24px 70px #13243a20; color:#182231; backdrop-filter:none; }
.account-tabs { padding:4px; border-radius:9px; background:#edf1f4; }
.account-tabs button { min-height:43px; border-radius:7px; color:#667383; }
.account-tabs button.selected { background:#fff; color:#172333; box-shadow:0 2px 8px #18304812; }
.account-card label { color:#667383; }
.account-card input { min-height:46px; border-color:#d7dee5; border-radius:8px; background:#f8fafb; color:#182231; }
.account-card input:focus { border-color:#6f91bd; box-shadow:0 0 0 3px #275f9b18; }
.account-submit { min-height:48px; border-radius:8px; background:#154a91; }
.password-field button { background:#e8eef5; color:#36577b; }
.account-link { color:#526c8c; }

@media (max-width:820px) {
    .account-page { grid-template-columns:1fr; gap:24px; padding:28px 18px 42px; background:linear-gradient(180deg,#111d2b 0,#18283a 39%,#f2f5f7 39%); }
    .account-brand { text-align:left; }
    .account-brandmark { margin:-12px 0 18px -12px; gap:14px; }
    .account-brandmark img { width:104px; height:104px; }
    .account-brandmark strong { font-size:24px; }
    .account-brand h1 { margin:12px 0; font-size:36px; }
    .account-brand p { font-size:14px; line-height:1.5; }
    .account-card { max-width:none; justify-self:stretch; padding:22px; }
}

/* Aura navigation and approved dashboard composition */
.desktop-sidebar nav button,.sidebar-settings { width:100%; border-top:0; border-right:0; border-bottom:0; cursor:pointer; text-align:left; font:inherit; }
.desktop-sidebar nav button { display:flex; min-height:46px; align-items:center; gap:12px; padding:0 13px; border-left:3px solid transparent; border-radius:5px; background:transparent; color:#bac5d1; font-size:14px; }
.desktop-sidebar nav button,.sidebar-settings { transition:background-color 180ms ease,color 180ms ease,border-color 180ms ease,transform 180ms ease; }
.desktop-sidebar nav button:hover,.sidebar-settings:hover { transform:translateX(2px); }
.desktop-sidebar nav button span { display:grid; width:22px; place-items:center; color:#9eacba; font-size:18px; }
.desktop-sidebar nav button:hover,.desktop-sidebar nav button.selected,.sidebar-settings.selected { border-left-color:var(--aura-copper); background:#ffffff0e; color:#fff; }
.sidebar-settings { border-left:3px solid transparent; background:transparent !important; color:#bac5d1 !important; box-shadow:none; appearance:none; }
.sidebar-settings:hover,.sidebar-settings.selected { background:#ffffff0e !important; color:#fff !important; }
.sidebar-brand img { padding:0; border-radius:0; background:transparent; object-fit:contain; }

/* Each navigation item is an independent workspace, not a long anchor page. */
.view-objects .section-finance,.view-objects .section-work,.view-objects .section-history,.view-objects .section-lift-editor,.view-objects .section-sites,.view-objects .section-stats,
.view-lifts .section-finance,.view-lifts .section-history,.view-lifts .section-management,.view-lifts .section-filters,.view-lifts .section-stats,.view-lifts .section-work,
.view-tasks .section-finance,.view-tasks .section-history,.view-tasks .section-management,.view-tasks .section-filters,.view-tasks .section-stats,.view-tasks .section-lift-editor,
.view-finance .section-work,.view-finance .section-history,.view-finance .section-management,.view-finance .section-filters,.view-finance .section-stats,.view-finance .section-lift-editor,
.view-extra .section-finance,.view-extra .section-history,.view-extra .section-management,.view-extra .section-filters,.view-extra .section-stats,.view-extra .section-lift-editor,
.view-history .section-finance,.view-history .section-work,.view-history .section-management,.view-history .section-filters,.view-history .section-stats,.view-history .section-lift-editor,
.view-settings .section-finance,.view-settings .section-work,.view-settings .section-history,.view-settings .section-management,.view-settings .section-filters,.view-settings .section-stats,.view-settings .section-sites,.view-settings .section-lift-editor { display:none !important; }
.view-extra .section-work > article:first-child { display:none; }
.view-tasks .section-work > article:nth-child(2) { display:none; }
.view-lifts .section-work > article:nth-child(2) { display:none; }
.view-finance .section-sites,.view-extra .section-sites,.view-history .section-sites { margin-bottom:18px; }
.view-overview .section-finance,.view-overview .section-history,.view-overview .section-management,.view-overview .section-lift-editor,.view-overview .section-filters,.view-overview .section-stats,.view-overview .section-sites,.view-overview .section-work { display:none !important; }
.view-overview .section-intro .intro-actions .secondary { display:none; }
.view-overview .section-intro { margin-bottom:20px; }
.view-overview .history-list article:nth-child(n+6) { display:none; }
.object-registry { animation:aura-section-enter 200ms cubic-bezier(.2,.72,.25,1) both; }
.registry-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:22px 0 14px; }
.registry-toolbar h2 { margin:0; color:#233042; font-size:20px; }.registry-toolbar p { margin-top:4px; font-size:12px; }
.object-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:12px; }
.object-tile { padding:18px; border:1px solid #d9e1e8; border-radius:10px; background:#fff; box-shadow:0 5px 18px #19324b09; transition:transform 180ms ease,box-shadow 180ms ease,border-color 180ms ease; }
.object-tile:hover { transform:translateY(-2px); border-color:#bdcbd8; box-shadow:0 12px 28px #19324b12; }
.object-tile > header { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:11px; }
.object-symbol { display:grid; width:42px; height:42px; place-items:center; border-radius:9px; background:#e8eef5; color:#315a8d; font-size:15px; font-weight:750; }
.object-tile h3 { margin:0; overflow:hidden; color:#243142; font-size:15px; text-overflow:ellipsis; white-space:nowrap; }.object-tile header p { margin-top:4px; overflow:hidden; color:#7d8895; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.object-active,.object-alert { padding:5px 7px; border-radius:5px; background:#eaf5ee; color:#2c7547; font-size:9px; font-weight:650; }.object-alert { background:#faecea; color:#a24e46; }
.object-metrics { display:grid; grid-template-columns:.5fr .7fr 1.3fr; gap:1px; margin:17px 0 13px; overflow:hidden; border:1px solid #edf0f3; border-radius:7px; background:#edf0f3; }
.object-metrics > div { display:grid; gap:5px; min-width:0; padding:10px; background:#f9fafb; }.object-metrics span { color:#87919d; font-size:9px; }.object-metrics strong { overflow:hidden; color:#344253; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.object-progress { height:6px; overflow:hidden; border-radius:20px; background:#e7ecf1; }.object-progress i { display:block; height:100%; border-radius:20px; background:linear-gradient(90deg,#174c91,#2d75bd); }
.object-tile footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:13px; }.object-tile footer span { color:#84909d; font-size:10px; }.object-tile footer button { border:0; background:transparent; color:#285a96; cursor:pointer; font-size:10px; font-weight:650; }
.registry-empty { display:grid; justify-items:center; gap:7px; padding:55px; border:1px dashed #ced7df; border-radius:10px; background:#fff; color:#7d8995; }.registry-empty strong { color:#334152; }
.section-lift-summary { display:none; margin:0 0 18px; }
.view-lifts .section-lift-summary { display:block; animation:aura-section-enter 200ms cubic-bezier(.2,.72,.25,1) both; }
.lift-summary-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; overflow:hidden; border:1px solid #e2e7ec; border-radius:7px; background:#e2e7ec; }
.lift-summary-grid > div { display:grid; gap:6px; padding:18px; background:#fff; }.lift-summary-grid span,.lift-summary-grid small { color:#7c8794; font-size:11px; }.lift-summary-grid strong { color:#263342; font-size:15px; }

.approved-overview { display:grid; grid-template-columns:1fr 1fr 1.2fr 1.05fr; gap:12px; animation:aura-section-enter 200ms cubic-bezier(.2,.72,.25,1) both; }
.overview-card { min-width:0; padding:18px; border:1px solid #d8e0e8; border-radius:10px; background:linear-gradient(145deg,#fff 0%,#fbfcfd 100%); box-shadow:0 8px 24px #1830490a,0 1px 2px #1830490d; }
.overview-card > header { display:flex; min-height:32px; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:16px; }
.overview-info { display:grid; width:18px; height:18px; flex:0 0 18px; place-items:center; border:1px solid #768394; border-radius:50%; color:#536174; font:700 11px/1 Georgia,serif; cursor:help; }
.overview-card h2 { margin:0; color:#263242; font-size:16px; font-weight:650; }
.overview-card header p { margin-top:4px; font-size:12px; }
.overview-card header button:not(.primary) { padding:3px 0; border:0; background:transparent; color:#315d96; cursor:pointer; font-size:12px; }
.progress-summary { display:flex; align-items:center; justify-content:center; gap:26px; padding:8px 0 5px; }
.progress-ring { position:relative; display:grid; width:144px; height:144px; flex:0 0 144px; align-content:center; justify-items:center; border-radius:50%; background:conic-gradient(from 0deg,#174c91 0 var(--progress),#dfe8f1 var(--progress) 360deg); box-shadow:0 12px 25px #174c911c,inset 0 0 0 1px #174c910c; }
.progress-ring::before { content:''; position:absolute; inset:17px; border-radius:50%; background:linear-gradient(145deg,#fff,#f7f9fb); box-shadow:inset 0 0 0 1px #dbe3eb,0 3px 10px #1a355118; }
.progress-ring span,.progress-ring strong { position:relative; z-index:1; }
.progress-ring span { margin-bottom:3px; color:#8692a0; font-size:8px; font-weight:700; letter-spacing:.12em; }
.progress-ring strong { color:#1c2a3a; font-size:24px; font-weight:680; letter-spacing:-.03em; }
.progress-legend { display:grid; gap:7px; min-width:135px; }
.progress-legend span { display:grid; grid-template-columns:8px 1fr auto; align-items:center; gap:8px; padding:7px 9px; border:1px solid #e7ecf1; border-radius:7px; background:#f8fafc; color:#748091; font-size:10px; }
.progress-legend i { width:8px; height:8px; border-radius:50%; }.legend-complete { background:var(--aura-blue); }.legend-current { background:#a9c6eb; }
.progress-legend b { color:#263242; }
.overview-lift-card dl { display:grid; margin:0; }
.overview-lift-card dl div { display:flex; justify-content:space-between; gap:15px; padding:10px 0; border-bottom:1px solid #edf0f3; }
.overview-lift-card dt { color:#798392; font-size:12px; }.overview-lift-card dd { margin:0; overflow:hidden; color:#283545; font-size:12px; font-weight:600; text-align:right; text-overflow:ellipsis; white-space:nowrap; }
.overview-status { padding:4px 7px; border-radius:4px; background:#e8f0fb; color:#28558b; font-size:10px; }
.overview-stage-list { display:grid; gap:15px; }
.overview-stage-list > div > span { display:flex; justify-content:space-between; gap:12px; margin-bottom:7px; color:#344253; font-size:11px; }
.overview-stage-list b { overflow:hidden; font-weight:550; text-overflow:ellipsis; white-space:nowrap; }.overview-stage-list strong { font-weight:650; }
.overview-stage-track { height:6px; overflow:hidden; border-radius:20px; background:#e8edf1; }.overview-stage-track i { display:block; height:100%; border-radius:20px; background:var(--aura-green); }
.approval-summary { display:grid; }
.approval-summary > div { display:grid; grid-template-columns:32px 1fr auto; align-items:center; gap:9px; padding:10px 0; border-bottom:1px solid #edf0f3; }
.approval-avatar { display:grid; width:32px; height:32px; place-items:center; border-radius:50%; background:#e8edf2; color:#536273; font-size:11px; font-weight:700; }
.approval-summary p,.approval-summary b,.approval-summary small { display:block; margin:0; }.approval-summary b { font-size:12px; }.approval-summary small { margin-top:3px; color:#8a94a0; font-size:10px; }
.approval-summary em,.overview-table em { padding:4px 6px; border-radius:4px; background:#eef2f6; color:#667485; font-size:9px; font-style:normal; }.approval-summary em { background:#e9f5ed; color:#287143; }
.overview-extra-card { grid-column:1/-1; padding:16px; }.overview-extra-card > header { align-items:center; }
.overview-extra-card .primary { padding:9px 13px; font-size:11px; }
.overview-table { display:grid; border:1px solid #edf0f3; border-radius:6px; overflow:hidden; }
.overview-table > div { display:grid; grid-template-columns:1fr 160px 130px; align-items:center; gap:16px; padding:10px 12px; border-top:1px solid #edf0f3; color:#536071; font-size:11px; }
.overview-table > div:first-child { border-top:0; }.overview-table-head { background:#f5f7f9; color:#84909d !important; font-size:10px !important; }
.overview-table b,.overview-table small { display:block; }.overview-table b { color:#2a3645; font-weight:550; }.overview-table small { max-width:700px; margin-top:3px; overflow:hidden; color:#84909d; text-overflow:ellipsis; white-space:nowrap; }
.overview-table em.approved { background:#e9f5ed; color:#287143; }.overview-empty-row { padding:28px; border:1px dashed #dce2e8; border-radius:6px; color:#84909d; text-align:center; font-size:12px; }

@media (max-width:1250px) { .approved-overview { grid-template-columns:1fr 1fr; }.overview-extra-card { grid-column:1/-1; } }
@media (max-width:900px) { .lift-summary-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:700px) { .approved-overview { grid-template-columns:1fr; }.overview-extra-card { grid-column:auto; }.overview-table > div { grid-template-columns:1fr auto; }.overview-table > div > span:last-child,.overview-table-head > span:last-child { display:none; }.progress-summary { justify-content:flex-start; }.lift-summary-grid { grid-template-columns:1fr; } }
@media (max-width:600px) { .registry-toolbar { align-items:stretch; flex-direction:column; }.registry-toolbar button { width:100%; }.object-grid { grid-template-columns:1fr; }.object-tile > header { grid-template-columns:42px minmax(0,1fr); }.object-tile > header > span { grid-column:1/-1; justify-self:start; }.object-metrics { grid-template-columns:1fr 1fr; }.object-metrics > div:last-child { grid-column:1/-1; } }

/* Aura 0.2 neutral construction visual system */
:root {
    --aura-navy:#24292d;
    --aura-navy-soft:#30363a;
    --aura-blue:#5e6b70;
    --aura-canvas:#f2f1ed;
    --aura-card:#faf9f6;
    --aura-line:#d8d6d0;
    --aura-text:#292d2f;
    --aura-muted:#777b7c;
    --aura-copper:#a76f4f;
    --aura-green:#687c6d;
}
body { background:var(--aura-canvas); }
.desktop-sidebar,.topbar { background:#252a2e; }
.desktop-sidebar { width:220px; }
.topbar,.shell { margin-left:220px; }
.sidebar-brand { height:118px; gap:10px; padding:14px 13px; }
.sidebar-brand img { width:88px; height:88px; }
.sidebar-brand strong { color:#f0eee9; font-size:20px; font-weight:620; letter-spacing:.11em; }
.desktop-sidebar nav button:hover,.desktop-sidebar nav button.selected,.sidebar-settings:hover,.sidebar-settings.selected { background:#ffffff09 !important; }
.primary,.save-price,.extra-form button,.account-submit { background:#4f5b5f; }
.overview-card,.object-tile,.stats article,.project-card,.history-card,.pricing-card,.percentage-editor,.payment-card { border-color:#dad8d2; background:#faf9f6; box-shadow:0 4px 18px #292d2f09; }
.progress-ring { background:conic-gradient(from 0deg,#56656a 0 var(--progress),#deddd8 var(--progress) 360deg); box-shadow:0 10px 24px #343a3d16,inset 0 0 0 1px #343a3d0d; }
.object-progress i,.overview-stage-track i { background:#697a6d; }

/* Sliding segmented control for account mode. */
.account-tabs { position:relative; isolation:isolate; overflow:hidden; }
.account-tabs::before { content:''; position:absolute; z-index:-1; top:4px; bottom:4px; left:4px; width:calc((100% - 8px) / 2.4); border-radius:7px; background:#fff; box-shadow:0 2px 9px #252a2e15; transition:transform 220ms cubic-bezier(.2,.75,.25,1),width 220ms ease; }
.account-tabs.register-selected::before { width:calc((100% - 8px) * .5833); transform:translateX(71.43%); }
.account-tabs button.selected { background:transparent; box-shadow:none; }
.account-page { background:linear-gradient(125deg,#272d30 0%,#343b3e 58%,#ebeae6 58%,#f4f3f0 100%); }
.account-brandmark { margin:-58px 0 2px -50px; gap:12px; }
.account-brandmark img { width:340px; height:340px; flex:0 0 340px; object-fit:contain; image-rendering:pixelated; }
.account-brandmark strong { color:#f2f0eb; font-weight:580; letter-spacing:.14em; }
.account-brand h1 { max-width:690px; color:#f2f0eb; font-size:clamp(36px,4.5vw,62px); font-weight:440; }
.account-brandmark strong::after { background:linear-gradient(90deg,#a76f4f,transparent); }

/* Defensive responsive layout for laptop scaling and mobile screens. */
@media (max-width:1180px) {
    .desktop-sidebar { width:184px; }
    .topbar,.shell { margin-left:184px; }
    .sidebar-brand img { width:66px; height:66px; }.sidebar-brand { height:96px; }.sidebar-brand strong { font-size:17px; }
    .topbar { padding:0 14px; }.desktop-search { width:min(290px,28vw); }
    .signed-user { min-width:115px; }.security-button { font-size:0; }.security-button::after { content:'Защита'; font-size:10px; }
    .shell { padding:22px 18px 82px; }
}
@media (max-width:900px) {
    .desktop-sidebar { display:none; }
    .topbar,.shell { margin-left:0; }
    .top-actions { margin-left:auto; }.signed-user,.security-button { display:none; }
    .account-page { grid-template-columns:1fr; background:linear-gradient(180deg,#292f32 0,#343b3e 45%,#efeeea 45%); }
    .account-brandmark { margin:-38px 0 -12px -36px; }.account-brandmark img { width:220px; height:220px; flex-basis:220px; }
}
@media (max-width:560px) {
    .topbar { min-width:0; }.topbar-context { min-width:0; }.top-actions { min-width:0; }.sync-state { display:none; }
    .notification-button,.exit-button { padding:7px 8px; }.shell { padding:16px 12px 88px; overflow-x:hidden; }
    .account-page { padding:18px 14px 32px; }.account-brandmark { margin:-24px 0 -18px -28px; }.account-brandmark img { width:180px; height:180px; flex-basis:180px; }.account-brandmark strong { font-size:25px; }.account-brand h1 { font-size:31px; }
    .account-card { padding:18px; }.account-tabs { grid-template-columns:1fr 1.4fr; }
}

/* Fast, restrained workspace transitions (200 ms). */
.shell > .section-intro,
.shell > .section-management,
.shell > .section-filters,
.shell > .section-stats,
.shell > .section-sites,
.shell > .section-lift-editor,
.shell > .section-finance,
.shell > .section-work,
.shell > .section-history,
.shell > .empty-state,
.shell > .archive-panel {
    animation:aura-section-enter 200ms cubic-bezier(.2,.72,.25,1) both;
}
@keyframes aura-section-enter {
    from { opacity:0; transform:translateY(7px); }
    to { opacity:1; transform:translateY(0); }
}
@media (prefers-reduced-motion:reduce) {
    .shell > *, .desktop-sidebar nav button, .sidebar-settings { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* Sign-in brand: transparent mark, strong name, quieter supporting copy. */
.account-brandmark { gap:clamp(20px,3vw,44px); margin:-76px 0 12px -74px; }
.account-brandmark img { width:390px; height:390px; flex:0 0 390px; image-rendering:pixelated; }
.account-brandmark strong { position:relative; padding:10px 2px 13px; color:#fff; font-size:42px; font-weight:620; letter-spacing:.16em; text-shadow:0 3px 22px #0005; }
.account-brandmark strong::after { content:''; position:absolute; left:2px; right:.16em; bottom:3px; height:2px; background:linear-gradient(90deg,var(--aura-copper),transparent); }
.account-brand h1 { max-width:590px; margin:0 0 18px; font-weight:520; line-height:1.08; }
.slogan-join { white-space:nowrap; }
.account-brand { transform:translateY(-35px); }

@media (max-width:820px) {
    .account-brand { transform:translateY(-12px); }
    .account-brandmark { margin:-38px 0 4px -36px; gap:8px; }
    .account-brandmark img { width:220px; height:220px; flex-basis:220px; }
    .account-brandmark strong { font-size:30px; }
    .account-brand h1 { font-weight:520; }
    .slogan-join { white-space:normal; }
}
