@import url('/static/iqora/branding.css');
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#18324d;background:#f3f6fa;font-synthesis:none;--ink:#18324d;--muted:#6a7d90;--blue:#315ee8;--line:#e4eaf2;--nav-height:78px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.48;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #90b6ff;outline-offset:3px}[hidden]{display:none!important}a{color:inherit;text-decoration:none}button{min-height:46px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);padding:12px 16px;font-weight:650}svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.1;letter-spacing:-1.2px;margin:7px 0 0;font-weight:750}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:17px;line-height:1.4}p{line-height:1.6}small{font-size:12px}.muted,.section-hint{color:var(--muted);font-size:13px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.7px;color:var(--muted)}label{display:block;font-size:12px;font-weight:650;color:#52677e;margin-bottom:17px}input,select,textarea{display:block;width:100%;min-height:50px;margin-top:7px;padding:13px 14px;border:1px solid #dce4ef;border-radius:12px;background:#fff;color:var(--ink);font-size:16px;line-height:1.4;min-width:0}textarea{resize:vertical}input::placeholder{color:#9aa8b9}input[type=checkbox]{width:22px;min-height:22px}input[type=date],input[type=month],input[type=time]{-webkit-appearance:none;min-width:0}select{text-overflow:ellipsis}.primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 4px 10px #315ee819}.secondary{background:#edf2fa;color:#24446d}.full{width:100%;display:flex;align-items:center;justify-content:center;gap:12px}.compact{font-size:13px;padding:10px 14px;white-space:nowrap}.text-button{background:transparent;border:0;color:var(--blue)}.surface{background:#fff;border:1px solid var(--line);border-radius:22px}.login-shell{max-width:480px;padding:40px 24px calc(24px + env(safe-area-inset-bottom));margin:auto}.login-brand,.brand{display:flex;align-items:center;gap:11px;font-size:24px;font-weight:750;letter-spacing:-.8px}.login-brand small,.brand small{display:block;letter-spacing:2.1px;font-size:8px;margin-top:3px;color:var(--muted)}.login-intro{margin:46px 0 28px}.login-intro h1{font-size:44px;line-height:1.12;margin:13px 0 18px;letter-spacing:-1.8px}.login-intro p{font-size:15px;color:var(--muted)}.login-form{padding:25px}.login-form h2{margin-bottom:8px}.login-form>.muted{margin-bottom:24px}.login-footer{text-align:center;font-size:11px;color:var(--muted);margin:24px 0}.app-header{position:sticky;top:0;z-index:10;max-width:760px;margin:auto;background:#f3f6faf2;backdrop-filter:blur(18px);padding:calc(15px + env(safe-area-inset-top)) 22px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4eaf280}.brand{font-size:19px;gap:8px}.brand small{font-size:7px}.header-actions{display:flex;align-items:center;gap:10px}.icon-button{display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;padding:0;background:transparent;border:0;border-radius:12px}.avatar{width:36px;min-height:36px;padding:0;border-radius:50%;background:#e4ebfb;color:#345bb3;font-size:11px;border:0}.connection{font-size:9px;color:#3f7c68;display:flex;gap:5px;align-items:center}.connection:before{content:"";width:5px;height:5px;border-radius:50%;background:#48a38b}.connection.offline{color:#ab6948}.connection.offline:before{background:#c98b4d}main{max-width:760px;padding:26px 22px calc(var(--nav-height) + 32px + env(safe-area-inset-bottom));margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.day-label{font-size:11px;color:var(--muted);text-align:right;max-width:90px;line-height:1.5}.day-card{display:flex;align-items:center;gap:18px;border-radius:23px;background:linear-gradient(125deg,#163957,#204d70);color:white;padding:24px;margin-bottom:23px;box-shadow:0 12px 22px #16395716}.day-icon{display:flex;align-items:center;justify-content:center;background:#ffffff13;width:49px;height:49px;border:1px solid #ffffff19;border-radius:16px;flex-shrink:0}.day-icon svg{width:27px;height:27px}.day-card span:not(.day-icon){color:#b2c6da;font-size:11px}.day-card strong{display:block;font-size:21px;letter-spacing:-.5px;margin:7px 0 5px}.day-card p{font-size:11px;color:#b2c6da;margin:0}.search-field{display:flex;align-items:center;gap:10px;padding:0 15px;background:#fff;border:1px solid var(--line);border-radius:15px;margin-bottom:17px}.search-field>span{color:#8ca0b5}.search-field input{border:0;margin:0;background:transparent;padding:16px 0;font-size:13px;min-height:52px}.chips{display:flex;gap:8px;margin-bottom:22px}.chips button{font-size:12px;min-height:36px;border:1px solid #dde5ee;border-radius:20px;padding:8px 15px;background:transparent;color:var(--muted)}.chips button[aria-pressed=true]{background:#183d60;color:white;border-color:#183d60}.card-list{display:grid;gap:13px}.record-card{width:100%;padding:20px;border-radius:20px;background:#fff;border:1px solid var(--line);text-align:left;box-shadow:0 4px 10px #18324d03;color:var(--ink)}.record-card:hover{border-color:#b7c9e5}.record-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.record-number{font-size:10px;color:#8093a8;letter-spacing:.3px;font-weight:600}.badge{display:inline-flex;font-size:9px;line-height:1.3;font-weight:700;padding:5px 9px;border-radius:20px;background:#eef2f8;color:#5e748f;white-space:nowrap}.badge.in_progress,.badge.accepted{background:#e8f2fb;color:#25608d}.badge.done{background:#e7f5ef;color:#2c7a5f}.badge.cancelled,.badge.rejected{background:#f8eded;color:#a16665}.record-card h3{font-size:17px;letter-spacing:-.3px;margin:0 0 5px}.record-customer{color:#71849a;font-size:12px;margin-bottom:17px}.record-bottom{border-top:1px solid #eff3f8;display:flex;align-items:center;justify-content:space-between;padding-top:13px;gap:12px}.record-date{font-size:11px;display:flex;align-items:center;gap:7px;color:#7a8da2}.record-date svg{width:14px;height:14px}.record-arrow{display:flex;align-items:center;gap:7px;color:#3b6cc0;font-size:11px}.record-arrow svg{width:16px;height:16px}.record-price{font-size:13px;font-weight:700}.empty-state{border:1px dashed #d1dce9;border-radius:19px;padding:32px 24px;text-align:center;color:var(--muted);font-size:13px;line-height:1.7;background:#ffffff60}.empty-state strong{display:block;color:var(--ink);margin-bottom:7px;font-size:16px}.bottom-nav{position:fixed;z-index:15;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:760px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fffffff7;border-top:1px solid var(--line);backdrop-filter:blur(18px);box-shadow:0 -6px 24px #18324d04}.bottom-nav>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:51px;color:#91a0b3;font-size:10px;font-weight:600}.bottom-nav>a>span:first-child{padding:3px 14px;border-radius:10px}.bottom-nav>a[aria-current=page]{color:var(--blue)}.bottom-nav>a[aria-current=page]>span:first-child{background:#eff3ff}.bottom-nav svg{width:23px;height:23px}.time-filters{padding:19px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.time-filters label{margin:0}.time-total{margin:22px 0;padding:4px 6px 9px}.time-total>span{font-size:12px;color:var(--muted)}.time-total>strong{display:block;font-size:44px;letter-spacing:-2px;margin:8px 0;color:#183d60;font-weight:750}.time-total small{font-size:17px;letter-spacing:0;color:#8599ae;font-weight:500}.time-total p{font-size:11px;color:var(--muted);margin:0}.time-card{padding:20px}.time-card-top{display:flex;justify-content:space-between;align-items:start;gap:12px}.time-card-top strong{font-size:22px}.time-card h3{font-size:15px;margin:11px 0 5px}.time-card p{font-size:12px;margin:4px 0;color:var(--muted)}.time-note{white-space:pre-wrap;overflow-wrap:anywhere}.stock-form{padding:21px}.segments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;background:#f1f4f9;border-radius:13px;margin-bottom:24px}.segments button{padding:9px 2px;border:0;background:transparent;color:#7b8ea4;font-size:11px;min-height:37px;box-shadow:none;border-radius:9px}.segments button[aria-pressed=true]{color:#315ec2;background:#fff;box-shadow:0 2px 6px #18324d0c}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 13px}.stock-preview{padding:17px;border-radius:14px;background:#f3f7fc;border:1px solid #e7eef7;margin-bottom:19px}.stock-preview span{font-size:10px;color:#7a8ea5}.stock-preview strong{display:block;font-size:24px;margin-top:6px;letter-spacing:-.5px}.stock-preview small{font-size:12px;font-weight:500;color:#7a8ea5}.quantity-control{display:flex;align-items:center;border:1px solid #dce4ef;border-radius:13px;margin-top:7px;overflow:hidden;background:white}.quantity-control input{border:0;text-align:center;margin:0;font-size:20px;font-weight:700;padding:10px 0;-moz-appearance:textfield}.quantity-control input::-webkit-inner-spin-button{display:none}.quantity-control button{border:0;border-radius:0;background:#f5f7fb;flex:0 0 49px;font-size:22px;color:#557caa;min-height:52px}.section-hint{text-align:center;font-size:11px;margin:19px 12px 0}.scan-action{background:#e7eef9;color:#345f9f}.notice,.pending-banner{background:#fff1de;border:1px solid #f0dfc2;border-radius:15px;padding:15px;margin-bottom:20px;color:#8b6635;font-size:12px;line-height:1.6}.pending-banner strong{font-size:13px}.pending-banner p{margin:6px 0 10px}.pending-banner button{font-size:12px;min-height:40px}.toast{position:fixed;bottom:calc(var(--nav-height) + 15px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:50;background:#143c37;color:white;border-radius:14px;box-shadow:0 6px 22px #0002;padding:14px 19px;max-width:calc(100vw - 40px);font-size:13px;line-height:1.5;text-align:center;width:max-content}.back-button{display:flex;align-items:center;gap:7px;background:transparent;border:0;padding:0;margin:0 0 24px;font-size:12px;color:#6b84a0}.back-button svg{width:17px;height:17px}.detail-heading{margin-bottom:24px}.detail-heading h1{font-size:28px;line-height:1.3;letter-spacing:-.8px;margin:14px 0 8px;overflow-wrap:anywhere}.detail-heading p{color:var(--muted);font-size:14px;margin:0}.detail-actions{display:flex;gap:9px;margin:21px 0;flex-wrap:wrap}.detail-actions>button,.detail-actions>a{flex:1;font-size:12px;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px;border-radius:13px}.detail-section{padding:20px;margin:15px 0}.detail-section h2{font-size:14px;margin-bottom:17px}.detail-section p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;color:#607890;margin:7px 0}.detail-kv{display:flex;justify-content:space-between;gap:15px;font-size:12px;padding:11px 0}.detail-kv span{color:var(--muted)}.detail-kv strong{text-align:right}.detail-line{border-top:1px solid #edf2f8;padding:16px 0}.detail-line:first-of-type{border:0;padding-top:0}.detail-line h3{font-size:14px;margin-bottom:8px;overflow-wrap:anywhere}.detail-line>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}.detail-totals{border-top:1px solid var(--line);padding-top:10px}.detail-totals>div{display:flex;justify-content:space-between;padding:7px 0;font-size:12px}.detail-totals>div:last-child{font-size:17px;font-weight:750;margin-top:5px}.detail-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.detail-photos img{width:100%;height:140px;object-fit:cover;border-radius:12px}.detail-photos small{display:block;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.sheet,.account-sheet{border:0;padding:23px;background:#fff;color:var(--ink);box-shadow:0 -6px 32px #112c481a}.sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:650px;max-height:calc(100dvh - env(safe-area-inset-top) - 14px);border-radius:25px 25px 0 0;padding-bottom:calc(24px + env(safe-area-inset-bottom));overflow:auto;scroll-padding-bottom:90px}.sheet::backdrop,.account-sheet::backdrop{background:#112c4870;backdrop-filter:blur(4px)}.sheet-handle{width:36px;height:4px;border-radius:5px;background:#dce4ef;margin:-11px auto 22px}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:21px}.sheet-heading h2{margin:0;font-size:21px;line-height:1.3}.sheet-heading .icon-button{color:#8a9aaf;background:#f2f5f9;width:36px;min-height:36px}.sheet form>button.primary{position:sticky;bottom:0;z-index:2;width:100%;min-height:51px}.sheet .form-hint{font-size:12px;color:var(--muted)}.form-section{font-size:11px;font-weight:750;letter-spacing:.8px;color:#6c829c;margin:29px 0 17px;text-transform:uppercase}.offer-line{position:relative;border:1px solid #e4ebf4;border-radius:16px;padding:18px 15px 4px;background:#fafcfe;margin:15px 0}.offer-line-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:11px;color:#768ba3}.offer-line-head button{min-height:28px;padding:4px;border:0;background:transparent;color:#af7780;font-size:11px}.offer-line>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.estimate{padding:16px;background:#eef4fd;border-radius:13px;display:flex;align-items:center;justify-content:space-between;margin:19px 0;color:#365885;font-size:13px}.estimate strong{font-size:18px}.picker{padding:16px;background:#f4f7fb;border-radius:14px;margin:14px 0}.picker summary{font-size:12px;font-weight:650;cursor:pointer;min-height:28px}.picker[open] summary{margin-bottom:18px}.picker button{font-size:12px}.account-sheet{width:calc(100% - 30px);max-width:430px;border-radius:24px}.account-sheet>p{font-size:13px;line-height:1.6;white-space:pre-wrap;color:var(--muted)}.install-card{display:flex;align-items:start;gap:14px;padding:18px;background:#f4f7fc;border-radius:17px;margin:22px 0}.install-card>span{color:#547fc4;padding-top:2px}.install-card h3{font-size:14px;margin-bottom:8px}.install-card p{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:0}.install-card button{margin-top:14px;font-size:12px}#scanner-video{width:100%;aspect-ratio:4/3;background:#112c48;object-fit:cover;border-radius:15px}#login-error,#stock-error,#form-error,#account-error{color:#b34848;font-size:12px;line-height:1.6;white-space:pre-wrap}.form-duration{padding:13px;border-radius:12px;background:#edf5f1;color:#35785e;font-size:13px;margin-bottom:20px}body:has(dialog[open]){overflow:hidden}@media(min-width:650px){main{padding-top:36px}.page-heading h1{font-size:38px}.card-list{grid-template-columns:repeat(2,minmax(0,1fr))}.day-card{padding:30px}.login-shell{padding-top:65px}.sheet{inset:35px 0;margin:auto;border-radius:25px;max-height:90dvh}.sheet-handle{display:none}.stock-form{max-width:500px;margin:auto}.time-total strong{font-size:52px}}@media(prefers-reduced-motion:no-preference){.record-card,.chips button,.bottom-nav a{transition:background .18s,border-color .18s,transform .18s}.record-card:active{transform:scale(.985)}.page{animation:enter .18s ease-out}@keyframes enter{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}

.stock-form .form-grid:has(#stock-target-field[hidden]){grid-template-columns:minmax(0,1fr)}input,select,textarea{font-weight:500}

.article-image-actions{display:flex;gap:10px;flex-wrap:wrap}.article-image-actions button{flex:1;min-height:44px}.article-image-preview{display:block;width:100%;height:180px;object-fit:contain;margin:12px 0}.article-image-preview[hidden]{display:none}.article-image-hint{font-size:12px;color:var(--muted)}.article-thumb{width:64px;height:64px;object-fit:contain;border-radius:8px}#stock-edit-article{margin:12px 0}
.report-capture{margin:20px 0;border-top:1px solid #dce3eb;padding-top:16px}.report-toggle{display:flex!important;align-items:center;gap:10px}.report-toggle input{width:20px!important;height:20px;flex-shrink:0}.report-capture fieldset{min-width:0;border:0;padding:0;margin-top:16px}.report-capture legend{font-weight:700}.report-capture canvas{display:block;width:100%;height:auto;aspect-ratio:3/1;border:1px solid #afbecd;border-radius:10px;background:white;touch-action:none;cursor:crosshair}.report-capture p{font-size:13px;line-height:1.5;color:#52647b}.report-summary{white-space:pre-wrap;overflow-wrap:anywhere;background:#f2f6fa;padding:12px;border-radius:8px}.report-capture #report-clear{margin-top:10px}.mobile-report-row{border-top:1px solid #e0e6ee;padding:16px 0}.mobile-report-row p{font-size:13px}

.report-extra{padding:12px;background:#f2f6fa;border-radius:10px;margin:12px 0}.report-extra summary{font-weight:600;padding:8px 0}.report-photo-capture h3{font-size:15px;margin-top:20px}#report-photos article{border:1px solid #dce3eb;border-radius:10px;padding:12px;margin:12px 0}#report-photos img{display:block;max-width:100%;max-height:180px;border-radius:6px;margin-bottom:12px}

.report-team{padding:14px;background:#f2f6fa;border-radius:10px;margin:16px 0}.report-team h3{font-size:15px}.report-team .report-toggle{padding:10px 0;border-bottom:1px solid #dce3eb}.report-team .report-toggle span{font-size:13px;line-height:1.5}#report-team-total{font-weight:700;color:#173d4d}

.report-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.report-photo-actions button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:12px;font-size:13px;line-height:1.35}.report-photo-actions button svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.report-photo-actions button:focus-visible{outline:3px solid #81c7ed;outline-offset:3px}.report-photo-actions button:active{transform:translateY(1px)}

.project-description{white-space:pre-wrap;overflow-wrap:anywhere}
.time-filters{grid-template-columns:minmax(0,1fr)}
.time-filters input[type=month]{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.time-current-employee{font-size:13px;color:#607890;margin:0 0 20px;padding:12px 14px;background:#f2f6fb;border-radius:12px}
.report-team .report-toggle span{white-space:pre-wrap;overflow-wrap:anywhere}

/* Keep help beside the connection state, including narrow installed apps. */
.header-actions>.online-help{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 10px;border:1px solid #dce4ef;border-radius:10px;background:#fff;color:#24446d;font-size:11px;font-weight:650;white-space:nowrap}
@media(max-width:540px){.app-header{flex-wrap:wrap;gap:10px}.header-actions{width:100%;gap:9px}.header-actions>.connection{margin-right:0}.header-actions>#refresh{margin-left:auto}}
