:root{--bg:#f0f3f6;--surface:#fff;--ink:#29343e;--muted:#626f7b;--line:#dce3e9;--green:#365e80;--orange:#f77842;--light:#e2f1fc;--danger:#b33c32;--radius:18px;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #f7784280;outline-offset:3px}a{color:inherit}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:27px;font-weight:650;letter-spacing:-.9px}h2{font-size:18px;font-weight:650;letter-spacing:-.3px}h3{font-size:15px}small,.muted{color:var(--muted)}.loading{padding:12vh 8vw;font-size:20px}.app-shell{min-height:100dvh;padding-left:254px}.sidebar{width:254px;position:fixed;inset:0 auto 0 0;background:#e9eff4;color:#a9b5ad;padding:28px 16px 16px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:#29343e;font-size:25px;font-weight:650;letter-spacing:-.7px;padding:0 12px 31px}.brand img{width:36px;height:36px}.workspace{margin:0 8px 28px;padding:16px;background:#e9eff4;border:1px solid #ffffff0c;border-radius:13px}.eyebrow{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;font-weight:600;color:var(--muted)}.workspace .eyebrow{color:#879c8c;margin-bottom:9px}.workspace strong{color:#eff3ee;font-size:13px}.nav-label{font-size:10px;letter-spacing:1.4px;padding:0 17px 12px;color:#72887a}.nav{display:grid;gap:5px}.nav button{display:flex;gap:12px;align-items:center;padding:13px 16px;text-align:left;border-radius:10px;background:none;color:#a9b5ad;font-weight:500;font-size:13px}.nav button:hover{color:#29343e;background:#e9eff4}.nav button.active{color:#29343e;background:#e9eff4}.nav button.active:after{content:'';width:5px;height:5px;background:#e9eff4;border-radius:50%;margin-left:auto}.icon{width:19px;height:19px;flex-shrink:0;display:inline-block;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar-footer{margin-top:auto;padding:20px 10px 0}.sidebar-help{font-size:11px;color:#8e9f92;line-height:1.6;border-bottom:1px solid #ffffff12;padding:14px 2px 20px;margin-bottom:18px}.profile{display:flex;align-items:center;gap:11px}.avatar{width:37px;height:37px;display:inline-grid;place-items:center;border-radius:50%;background:#e9eff4;color:#29343e;font-size:13px;font-weight:700;flex-shrink:0}.profile strong{display:block;color:#f6f7f4;font-size:12px;margin-bottom:4px}.profile small{font-size:10px}.profile button{margin-left:auto;color:#9daf9f;background:none;padding:8px}.topbar{height:86px;background:#e9eff4;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 38px;gap:16px}.breadcrumbs{display:flex;align-items:center;gap:12px;font-size:12px;color:#849087}.breadcrumbs strong{color:#3c4f42;font-weight:500}.top-actions{display:flex;align-items:center;gap:14px}.sync{display:flex;align-items:center;gap:7px;font-size:11px;color:#6b7d6e}.sync:before{content:'';width:6px;height:6px;border-radius:50%;background:#e9eff4}.icon-btn{background:white;border:1px solid var(--line);border-radius:9px;padding:9px;display:inline-flex;align-items:center;justify-content:center;color:#506454}.mobile-menu{display:none}.main{padding:32px 38px 50px;max-width:1720px;margin:auto}.page-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px}.page-title p{margin-top:9px;font-size:12px;color:var(--muted)}.btn{border:1px solid transparent;background:#e9eff4;color:#29343e;padding:11px 17px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:12px;line-height:1.5;white-space:nowrap}.btn:hover{filter:brightness(1.08)}.btn .icon{width:16px;height:16px}.btn.secondary{background:white;border-color:var(--line);color:#3b5142}.btn.orange{background:#e9eff4;color:#29343e}.btn.danger{background:#e9eff4;color:var(--danger);border-color:#edd3ce}.btn.small{padding:7px 10px;font-size:11px}.btn.link{background:transparent;color:#546c58;padding:5px;font-weight:500}.hero{min-height:170px;background:#e9eff4;border-radius:20px;padding:30px 32px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#29343e;margin-bottom:23px;position:relative;overflow:hidden}.hero:after{content:'';position:absolute;width:180px;height:180px;border:38px solid #ffffff05;border-radius:50%;right:240px;top:5px;pointer-events:none}.hero .eyebrow{color:#a7b9a8;margin-bottom:14px}.hero h2{font-size:27px;letter-spacing:-.8px}.hero p{font-size:12px;color:#b6c6b9;margin-top:11px;line-height:1.6}.hero .btn{background:#e9eff4;color:#26432e;z-index:1}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:15px;padding:21px 23px}.stat-head{display:flex;align-items:center;justify-content:space-between;color:#7b8c7c;margin-bottom:17px;font-size:11px}.stat-head .icon{width:17px;height:17px;color:#9eaea0}.stat-value{font-size:30px;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums;line-height:1.25}.stat-value span{font-size:15px;letter-spacing:0;color:#7b8c7c;font-weight:400}.stat small{display:block;font-size:10px;margin-top:9px;line-height:1.6}.columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:22px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:23px 24px 19px}.panel-head h2{font-size:15px}.panel-head p{font-size:11px;color:var(--muted);margin-top:7px}.panel-body{padding:0 24px 24px}.empty{padding:45px 24px;text-align:center;color:#8b978e;font-size:12px;line-height:1.8}.empty .empty-icon{margin:0 auto 14px;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e9eff4;color:#7c957e}.empty .icon{width:22px;height:22px}.empty h3{font-size:13px;font-weight:600;color:#536856;margin-bottom:6px}.empty .btn{margin-top:16px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:12px}th{color:#8a968e;font-weight:500;font-size:10px;letter-spacing:.4px;background:#e9eff4;padding:13px 24px;border-top:1px solid #eff2ec;border-bottom:1px solid #eff2ec}td{padding:17px 24px;border-bottom:1px solid #f0f3ed;vertical-align:middle}tbody tr:last-child td{border:0}td strong{display:block;font-weight:600}td small{display:block;margin-top:4px;font-size:10px;max-width:260px;overflow:hidden;text-overflow:ellipsis}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;background:#e9eff4;color:#55714c;border-radius:6px;font-size:10px;font-weight:500}.badge.draft{background:#e9eff4;color:#ac8043}.badge.closed{background:#e9eff4;color:#7c867f}.badge .icon{width:11px;height:11px}.row-actions{display:flex;gap:6px;align-items:center}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;flex-wrap:wrap}.filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.filters input,.filters select{padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:#58705c;font-size:12px;max-width:220px}.filters input[type=search]{width:220px}.total-label{font-size:11px;color:#809084}.list-item{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid #edf1ea}.list-item:last-child{border:0}.list-item .avatar{background:#e9eff4;color:#698066;border-radius:10px;width:38px;height:38px;font-size:11px}.list-item .grow{flex:1;min-width:0}.list-item strong{font-size:12px;display:block}.list-item small{font-size:10px;display:block;margin-top:5px}.activity-dot{width:8px;height:8px;background:#e9eff4;border-radius:50%;flex-shrink:0}.week-chart{height:160px;display:flex;align-items:end;gap:16px;padding:12px 0}.day-bar{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:end;gap:9px;height:100%;font-size:10px;color:#8a988b}.day-bar progress{writing-mode:vertical-lr;transform:rotate(180deg);height:110px;width:20px;appearance:none;display:block;border:0;background:#e9eff4;border-radius:6px;overflow:hidden}.day-bar progress::-webkit-progress-bar{background:#e9eff4;border-radius:6px}.day-bar progress::-webkit-progress-value{background:#e9eff4;border-radius:6px}.day-bar strong{font-size:10px;color:#56704f;font-weight:500}.site-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.site-card{background:white;border:1px solid var(--line);border-radius:16px;padding:24px}.site-card .site-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.site-symbol{background:#e9eff4;color:#6e8564;padding:12px;border-radius:12px}.site-card h3{font-size:17px;margin-bottom:8px}.site-card p{font-size:12px;color:#81907e;margin-top:6px;line-height:1.7}.site-card footer{border-top:1px solid var(--line);padding-top:17px;margin-top:20px;display:flex;justify-content:space-between;align-items:center}.site-card footer span{font-size:11px;color:#859282}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.photo-card{background:white;border-radius:12px;border:1px solid var(--line);overflow:hidden}.photo-card button{display:block;padding:0;width:100%;background:#e9eff4}.photo-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.photo-card div{padding:13px;font-size:11px;line-height:1.8;color:#788974}.photo-card strong{display:block;font-size:12px;color:var(--ink)}dialog{border:1px solid var(--line);border-radius:19px;padding:0;width:min(650px,calc(100% - 28px));max-height:90dvh;color:var(--ink);box-shadow:0 25px 100px #13221b30}dialog::backdrop{background:#b8d8ee80;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:25px 27px 21px;border-bottom:1px solid var(--line);background:#e9eff4}.modal-head h2{font-size:21px}.modal-head p{font-size:12px;color:#7e8e7e;line-height:1.7;margin-top:7px}.modal-head button{background:none;color:#82937f;padding:3px}.modal-body{padding:25px 27px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:600;color:#4a604c}.field input,.field select,.field textarea{width:100%;padding:12px 13px;border:1px solid #dce3d8;border-radius:9px;background:white;color:#253c2a;outline:none;font-size:13px;min-height:43px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#8ba582;box-shadow:0 0 0 3px #89a17c15}.field textarea{min-height:88px;resize:vertical}.field small{font-size:10px;line-height:1.7}.field input[type=file]{font-size:11px;padding:10px;background:#e9eff4}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px;flex-wrap:wrap}.notice{border:1px solid #e5eadf;background:#e9eff4;color:#6e8163;padding:12px 15px;border-radius:9px;font-size:11px;line-height:1.8;margin-bottom:20px;display:flex;gap:10px;align-items:start}.notice .icon{width:16px;margin-top:2px}.notice.error{color:var(--danger);border-color:#eed2ce;background:#e9eff4}.notice strong{font-weight:600}.photo-preview{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.photo-preview figure{margin:0;position:relative}.photo-preview img{width:74px;height:60px;object-fit:cover;border-radius:7px}.photo-preview button{position:absolute;right:0;top:0;border-radius:0 7px 0 7px;background:#e9eff4;color:#29343e;width:22px;height:22px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;font-size:13px}.detail-grid dt{color:#889480;font-size:10px;margin-bottom:7px}.detail-grid dd{margin:0;line-height:1.7}.detail-grid .full{grid-column:1/-1}.history{padding:0 25px 10px}.history-item{padding:22px 0;border-bottom:1px solid var(--line);font-size:12px}.history-item:last-child{border:0}.history-title{display:flex;justify-content:space-between;gap:15px;margin-bottom:7px}.history-title strong{font-size:12px}.history-item p{font-size:11px;color:#82937b;line-height:1.8}.history-item details{margin-top:12px}.history-item summary{cursor:pointer;color:#58714f;font-size:11px}.diff-table{margin-top:12px;white-space:normal;font-size:11px}.diff-table th,.diff-table td{padding:9px 12px;word-break:break-word}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid .panel-body p{color:#7f8d78;font-size:12px;line-height:1.9;margin-bottom:20px}.auth-page{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr;background:#fff}.auth-art{background:#e9eff4;color:#29343e;padding:55px 10%;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-art .brand{padding:0;font-size:26px}.auth-art h1{font-size:clamp(36px,4vw,60px);line-height:1.13;letter-spacing:-2px;font-weight:550;max-width:510px;position:relative;z-index:1}.auth-art h1 span{color:#b8c8a8}.auth-art p{color:#9db198;font-size:14px;line-height:1.9;max-width:350px;margin-top:24px}.auth-art .auth-note{font-size:11px;margin-top:40px;color:#718e75}.construction-lines{position:absolute;width:350px;height:350px;border:50px solid #a4b78808;transform:rotate(30deg);right:-130px;bottom:50px}.auth-form-wrap{display:grid;place-items:center;padding:40px 35px}.auth-form{width:min(365px,100%)}.auth-form .eyebrow{margin-bottom:15px;color:#9ba98e}.auth-form h2{font-size:29px;letter-spacing:-1px}.auth-form>p{font-size:12px;line-height:1.8;color:#8d9985;margin:12px 0 30px}.auth-form .field{margin-bottom:18px}.auth-form .btn{width:100%;margin-top:8px;padding:13px}.auth-foot{font-size:10px;color:#9aa491;margin-top:25px;text-align:center;line-height:1.8}#toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%);padding:13px 21px;color:#29343e;border-radius:10px;background:#e9eff4;box-shadow:0 10px 40px #17302330;font-size:12px;z-index:100;max-width:calc(100% - 32px);display:none;line-height:1.6}#toast.show{display:block}#toast.error{background:#e9eff4}.auth-page~#toast{left:50%}.lightbox{max-width:100%;max-height:70dvh;display:block;margin:auto}.section-note{color:#8a9782;font-size:11px;margin-top:20px;line-height:1.8}.month-label{font-size:11px;color:#8b9780}.money{font-variant-numeric:tabular-nums}.text-right{text-align:right}.spaced{margin-top:20px}.stack{display:grid;gap:15px}.setup-tag{display:inline-flex;background:#e9eff4;color:#758868;font-size:10px;padding:6px 10px;border-radius:6px;margin-bottom:22px}.form-error{color:var(--danger);font-size:12px;margin-bottom:14px;line-height:1.6}.form-error:empty{display:none}.photo-actions{display:flex;gap:8px}.photo-actions .field{flex:1}.mobile-close{display:none}.user-line{display:flex;align-items:center;gap:10px}.user-line .avatar{width:30px;height:30px;font-size:10px;background:#e9eff4;color:#6f845d}.tab-note{font-size:11px;padding:14px 24px;color:#8e9b83;background:#e9eff4;border-top:1px solid var(--line)}.report-total td{background:#e9eff4;font-weight:650}.auth-art footer{font-size:10px;color:#789177}.report-scope{font-size:11px;color:#8c9981;margin:0 0 18px;line-height:1.7}
@media(min-width:1600px){.main{padding-top:38px}.hero{min-height:190px}.stat{padding:26px}.stat-value{font-size:34px}}
@media(max-width:1200px){.app-shell{padding-left:220px}.sidebar{width:220px}.brand{font-size:23px;padding-left:8px}.workspace{padding:14px}.workspace strong{font-size:11px}.main{padding:28px 24px}.topbar{padding:0 24px}.stat{padding:18px}.stat-value{font-size:26px}.columns{grid-template-columns:1.3fr 1fr;gap:16px}.site-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}td,th{padding-left:18px;padding-right:18px}}
@media(max-width:920px){.columns{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}.topbar{height:73px}.sync{display:none}.auth-page{grid-template-columns:.8fr 1fr}.auth-art{padding:40px 30px}.auth-art h1{font-size:37px;letter-spacing:-1.5px}.auth-art p{font-size:12px}.hero h2{font-size:23px}.hero{padding:25px}}
@media(max-width:700px){.app-shell{padding-left:0}.sidebar{transform:translateX(-100%);width:265px;transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:100px 0 0 100vw #0e221854}.mobile-menu{display:inline-flex}.mobile-close{display:block;position:absolute;right:10px;top:28px;color:#afbea6;background:none}.topbar{padding:0 19px;height:68px}.breadcrumbs{gap:8px;font-size:11px}.breadcrumbs>span{display:none}.top-actions{gap:10px}.top-actions>.month-label{display:none}.main{padding:24px 18px 35px}.page-title{align-items:start;margin-bottom:21px;gap:10px}h1{font-size:24px;letter-spacing:-.7px}.page-title p{font-size:11px;line-height:1.6;max-width:230px}.page-title .btn{padding:9px 11px;font-size:11px}.hero{padding:23px;min-height:180px;display:block;border-radius:16px}.hero h2{font-size:23px}.hero p{font-size:11px;max-width:270px;margin-top:9px}.hero .btn{margin-top:19px;padding:9px 13px;font-size:11px}.hero:after{right:-45px;top:26px}.hero .eyebrow{font-size:9px;margin-bottom:12px}.stats{gap:11px;margin-bottom:20px}.stat{padding:16px 15px;border-radius:12px}.stat-head{font-size:10px;margin-bottom:12px;gap:8px}.stat-head .icon{width:15px}.stat-value{font-size:25px}.stat-value span{font-size:12px}.stat small{font-size:9px;margin-top:6px}.panel{border-radius:13px}.panel-head{padding:20px}.panel-body{padding:0 20px 20px}.panel-head h2{font-size:14px}.panel-head p{font-size:10px}.site-grid{grid-template-columns:1fr;gap:14px}.site-card{padding:22px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.toolbar{gap:12px}.filters{gap:7px;width:100%}.filters input,.filters select{font-size:11px;padding:9px 10px;max-width:100%;flex:1;min-width:0}.filters input[type=search]{width:100%;flex-basis:100%}.total-label{font-size:10px}.form-grid{gap:15px}.modal-body{padding:20px}.modal-head{padding:21px 20px 18px}.modal-head h2{font-size:20px}.field input,.field select,.field textarea{font-size:16px;padding:10px;min-height:44px}.field label{font-size:10px}.field small{font-size:10px}.form-actions{gap:8px}.form-actions .btn{flex:1;padding:11px 12px;font-size:11px}dialog{max-height:94dvh}.history{padding:0 20px 10px}.history-title{align-items:start;font-size:10px}.history-title strong{font-size:11px}.history-title small{font-size:9px;white-space:nowrap}.auth-page{display:block}.auth-art{min-height:195px;padding:25px 25px 28px}.auth-art .brand{font-size:22px;margin-bottom:26px;gap:9px}.auth-art .brand img{width:30px;height:30px}.auth-art h1{font-size:28px;letter-spacing:-.8px;max-width:330px}.auth-art p,.auth-art footer{display:none}.auth-form-wrap{padding:31px 26px}.auth-form h2{font-size:25px}.auth-form>p{margin:10px 0 23px}.auth-form .field input{font-size:16px}.setup-tag{margin-bottom:18px;font-size:9px}#toast{left:50%;width:max-content;bottom:18px}.notice{font-size:10px;padding:11px 12px}.detail-grid{gap:16px}.diff-table td,.diff-table th{font-size:10px;padding:8px}.empty{padding:35px 20px}td,th{padding:14px 17px}.photo-preview img{width:65px;height:55px}.top-actions .icon-btn{padding:7px}.top-actions .icon-btn .icon{width:17px;height:17px}.btn{min-height:36px}.btn.small{min-height:32px}.btn.link{min-height:32px}}
.company-brand{display:block;padding:0 8px 20px;text-align:center;letter-spacing:1.5px;font-size:10px;text-transform:uppercase;flex-shrink:0}.company-brand img{display:block;width:100%;height:105px;object-fit:contain;border-radius:9px;background:white;margin-bottom:12px}.company-brand span{color:#9bb097;font-size:10px}.auth-art .company-brand{width:215px;padding:0;text-align:left}.auth-art .company-brand img{width:215px;height:125px;margin-bottom:13px}.auth-art .company-brand span{display:block}.nav{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#53684e transparent}.sidebar-footer{flex-shrink:0}.badge.imported{background:#e9eff4;color:#47729b}.import-flags{color:#a66f32;font-size:11px;line-height:1.8;margin-top:15px}.table-wrap img{object-fit:cover}.modal-body>.table-wrap{max-width:100%}
@media(max-height:850px){.sidebar-help{display:none}.sidebar-footer{padding-top:18px}.workspace{margin-bottom:20px}.company-brand img{height:85px}.company-brand{padding-bottom:20px}.nav button{padding-top:11px;padding-bottom:11px}.sidebar{padding-top:20px}}
@media(max-width:700px){.auth-art .company-brand{display:flex;width:auto;align-items:center;gap:18px;margin-bottom:23px}.auth-art .company-brand img{width:145px;height:84px;margin:0}.auth-art .company-brand span{font-size:10px}.auth-art{min-height:225px}.sidebar .company-brand{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.photo-open{padding:0;border:0;background:#e9eff4;border-radius:10px;overflow:hidden}.photo-open img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.stock-low{color:#b47632}.import-progress{font-size:12px;color:#4f714a;line-height:1.8}.full{grid-column:1/-1}

.checkbox-list{display:grid;gap:10px;max-height:210px;overflow:auto;padding:12px;border:1px solid var(--line);border-radius:9px}.checkbox-list label{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.6}.checkbox-list input{width:17px;height:17px;min-height:0;flex-shrink:0;accent-color:var(--green)}fieldset.field{border:0;padding:0;margin:0}fieldset legend{font-size:11px;font-weight:600;color:#4a604c;margin-bottom:10px}.hours-matrix td,.hours-matrix th{padding:12px 9px;text-align:center}.hours-matrix td:first-child,.hours-matrix th:first-child{position:sticky;left:0;background:white;z-index:1;text-align:left;min-width:180px}.hours-matrix .weekend{background:#e9eff4}.day-cell{background:#e9eff4;color:#385337;border-radius:6px;padding:6px;min-width:31px}.long-cell{white-space:normal;min-width:220px;max-width:360px;line-height:1.7}

.photo-card{position:relative}.photo-select{position:absolute;top:10px;left:10px;z-index:2;display:grid;place-items:center;width:32px;height:32px;background:white;border-radius:8px;box-shadow:0 2px 10px #15231d20;cursor:pointer}.photo-select input{width:18px;height:18px;margin:0;accent-color:var(--green)}

.site-name-button{font:inherit;color:inherit;background:none;border:0;padding:0;text-align:left;cursor:pointer}.site-name-button:hover{text-decoration:underline}

@media(display-mode:standalone){.install-button{display:none}}@media(max-width:700px){.install-button span{display:none}.install-button{padding:7px}}

.folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.folder-tile{display:grid;grid-template-columns:52px 1fr 20px;column-gap:14px;align-items:center;min-height:112px;padding:22px;text-align:left;border:1px solid var(--line);border-radius:16px;background:white;color:var(--ink);cursor:pointer}.folder-tile:hover{border-color:#92a999;background:#e9eff4}.folder-symbol{grid-row:1/3;display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#e9eff4;color:var(--green)}.folder-tile strong{font-size:14px}.folder-tile small{grid-column:2;font-size:11px;color:var(--muted);margin-top:7px}.folder-tile>.icon{grid-column:3;grid-row:1/3;width:17px;color:var(--muted)}@media(max-width:700px){.folder-grid{grid-template-columns:1fr;gap:12px}.folder-tile{min-height:95px;padding:18px}}

.hours-matrix .matrix-pay{min-width:135px;white-space:normal;font-variant-numeric:tabular-nums;background:#e9eff4}

.attendance-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin:0 0 20px;color:var(--muted);font-size:11px}.attendance-legend strong{color:var(--green);margin-right:4px}.day-cell.absence-cell{background:#e9eff4;color:#80551b;white-space:nowrap}

.company-logo{width:56px;height:56px;object-fit:contain;border-radius:8px;display:block;margin-bottom:8px;background:#fff}

/* Keep native selection and clipboard gestures available throughout the app. */
body,input,textarea,[contenteditable],.detail-grid dd{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
.diary-sites{padding:0 26px 26px}.diary-site{padding:22px 0;border-bottom:1px solid var(--line)}.diary-site:last-child{border-bottom:0;padding-bottom:0}.diary-site-top{display:flex;justify-content:space-between;gap:18px;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--line)}.diary-site h3{margin:0 0 6px;font-size:17px}.diary-site p{margin:0;color:var(--muted);font-size:13px}.diary-site .row-actions{flex-shrink:0}.diary-site a{text-decoration:none}.diary-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.diary-save,.diary-archive{display:flex;justify-content:center;width:calc(50% - 6px);margin-top:18px}.diary-site input:disabled{opacity:1;background:#e9eff4;color:var(--ink)}
@media(max-width:700px){.diary-sites{padding:0 20px 20px}.diary-site-top{align-items:flex-start;flex-wrap:wrap}.diary-site-top .row-actions{width:100%;justify-content:flex-end}.diary-site .btn{font-size:12px}.diary-dates{gap:10px}.diary-dates input{width:100%;min-width:0;font-size:14px}.diary-save,.diary-archive{width:100%}}

.remember-login{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:18px 0;color:var(--ink);font-size:13px;cursor:pointer}.remember-login input{width:18px;height:18px;accent-color:var(--green)}.remember-login small{width:100%;padding-left:27px;color:var(--muted);font-size:11px}

/* Light blue surfaces, retaining white cards and form fields. */
.sidebar{color:#294f69}.brand,.workspace strong,.nav button,.nav button:hover,.nav button.active,.profile strong,.profile button,.sidebar-footer,.sidebar-help,.company-brand span{color:#334553}.workspace{border-color:#c1dcec}.workspace .eyebrow,.nav-label,.profile small,.sidebar-help p,.auth-art p,.auth-art footer,.auth-art .company-brand span{color:#4d6e85}.nav button:hover{background:#b6d9f1}.nav button.active{background:#a8d1ee;color:#163d59}.nav button.active:after{background:#7db9e3}.hero,.auth-art{color:#29343e}.hero h2,.auth-art h1,.hero p,.hero .eyebrow,.auth-art h1 span{color:#334553}.btn{color:#29343e}.btn:hover{filter:brightness(.97)}.btn.orange{background:#acd5f1;color:#163d59}.nav{scrollbar-color:#91bbd8 transparent}#toast,#toast.error{color:#29343e}.hero:after,.construction-lines{opacity:.15}

.company-brand img{width:130px;height:130px;margin-left:auto;margin-right:auto}.auth-art .company-brand img{width:180px;height:180px}@media(max-width:700px){.auth-art .company-brand img{width:110px;height:110px}}

.site-archive-folder{margin-top:22px}.site-archive-folder>summary{list-style:none;max-width:420px}.site-archive-folder>summary::-webkit-details-marker{display:none}.site-archive-folder[open]>summary{margin-bottom:18px}.site-archive-folder[open]>summary>.icon{transform:rotate(90deg)}

/* Calm blue-grey theme. */
.sidebar,.auth-art{background:#e7edf3}.topbar{background:#f5f7f9}.hero{background:#e8eef4}.workspace{background:#f4f7fa;border-color:#d5dfe7}.nav button:hover{background:#dbe6f0}.nav button.active{background:#c9dcee;color:#243f59}.btn,.btn.orange{background:#bfd5ea;color:#253f57}.btn.secondary,.icon-btn,.panel,.stat,.site-card,.folder-tile,.photo-card{background:#fff}.btn.secondary{color:#344b5e}.btn.danger{background:#f9ecea;color:#a43229}.btn.link{background:transparent}.hero p,.auth-art p,.workspace .eyebrow,.nav-label,.profile small{color:#566777}.sidebar-help,.sidebar-help p,.auth-art footer,.auth-art .company-brand span{color:#566777}.field input,.field textarea,.field select{color:#29343e}.diary-site input:disabled{background:#f3f6f8}

.photo-download-status{margin:0 0 20px;color:var(--muted);font-size:12px;line-height:1.6}.photo-download-status strong{color:var(--ink)}

.attendance-tag{display:inline-flex;align-items:center;justify-content:center;min-width:30px;padding:5px 7px;border:1px solid;border-radius:6px;font-size:11px;font-weight:750;line-height:1.2;white-space:nowrap}.attendance-tag.attendance-sick{background:#ffe2e2;color:#942424;border-color:#e7a7a7}.attendance-tag.attendance-vacation{background:#dff2dc;color:#286022;border-color:#a2c99d}.attendance-tag.attendance-holiday{background:#ece2ff;color:#61329b;border-color:#c4abe5}.attendance-tag.attendance-paid_leave{background:#dbeafe;color:#245599;border-color:#9fbce4}.attendance-tag.attendance-unpaid_leave{background:#e5e7eb;color:#414a59;border-color:#aeb6c2}.attendance-tag.attendance-parental_leave{background:#fce1ef;color:#94376b;border-color:#dfa7c5}.attendance-tag.attendance-day_off{background:#d2f2ee;color:#17635c;border-color:#8dc8c1}.attendance-tag.attendance-bad_weather{background:#fff0bf;color:#805400;border-color:#d7bb65}.attendance-tag.attendance-other{background:#efdfd3;color:#744326;border-color:#c6a58e}.hours-matrix .day-cell.absence-cell{background:transparent;padding:2px;display:inline-flex;gap:3px;flex-wrap:wrap;justify-content:center}.hours-matrix .attendance-tag{margin:0}.attendance-legend>span{display:inline-flex;align-items:center;gap:6px}

.site-folder-actions{flex-wrap:wrap;max-width:100%;min-width:0}@media(max-width:700px){.page-title:has(.site-folder-actions){flex-wrap:wrap}.site-folder-actions{width:100%;gap:8px}.site-folder-actions .btn{flex:1 1 auto}}

.finance-result th,.finance-result td,.finance-total th,.finance-total td{font-weight:700}.finance-result.finance-profit{background:#e4f3ec;color:#205b40}.finance-result.finance-loss{background:#fce8e6;color:#922d27}.finance-actions{flex-wrap:wrap}.finance-result th{white-space:normal}.panel:has(.finance-result) th{white-space:normal}.panel:has(.finance-result) td{white-space:nowrap}@media(max-width:700px){.panel:has(.finance-result) .panel-head{flex-wrap:wrap;gap:12px}.finance-actions{width:100%}.finance-actions .btn{flex:1 1 auto}.panel:has(.finance-result) th,.panel:has(.finance-result) td{padding:12px}}

.finance-result.finance-loss th,.finance-result.finance-loss td,.finance-result.finance-loss strong{color:#922d27}.finance-result.finance-profit th,.finance-result.finance-profit td,.finance-result.finance-profit strong{color:#205b40}

.stat-value .profit-negative{color:#922d27}.stat-value .profit-positive{color:#205b40}

.stat-value .profit-negative,.stat-value .profit-positive{font-size:inherit;font-weight:inherit;letter-spacing:inherit}

.language-switcher{display:flex;align-items:center;gap:5px;flex-shrink:0}.language-switcher select{font:inherit;color:#293f51;background:#fff;border:1px solid #c7d6e3;border-radius:10px;padding:8px;max-width:145px}.language-floating{position:fixed;right:16px;top:12px;z-index:1000}.top-actions{flex-wrap:wrap}.company-folder{border:1px solid #d5e0ea;border-radius:18px;background:#fff;margin-bottom:15px}.company-folder>summary{list-style:none;cursor:pointer;padding:20px;display:flex;align-items:center;gap:14px}.company-folder>summary::before{content:'▸';color:#456987}.company-folder[open]>summary::before{content:'▾'}.company-folder .company-folder-content{padding:0 20px 20px}.company-folder .company-logo{width:56px;height:56px;object-fit:contain}.company-folder summary small{display:block;color:#5d7182}.company-folder .row-actions{flex-wrap:wrap;gap:8px}.localization-note{font-size:13px;color:#5b6c7b}@media(max-width:700px){.language-switcher select{max-width:105px;font-size:12px}.top-actions .month-label{display:none}.company-folder>summary{padding:16px}.company-folder-content .btn{flex:1 1 auto}.auth-form-wrap{padding-top:72px}}

.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.gallery-count{white-space:nowrap;font-variant-numeric:tabular-nums}.gallery-image{display:block;width:100%;max-height:70vh;object-fit:contain;touch-action:pan-y pinch-zoom}.gallery-caption{overflow-wrap:anywhere;margin-bottom:0}.gallery-toolbar button:disabled{opacity:.4;cursor:default}@media(max-width:480px){.gallery-toolbar .btn{padding:10px 8px;font-size:13px}}
