.admin-install-button{color:#43614b;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:8px 10px;font-size:14px;font-weight:500;display:inline-flex}.admin-install-button:hover{background:#edf3ed}.admin-install-button:focus-visible{outline-offset:3px;outline:2px solid #376343}.admin-install-backdrop{z-index:1450;padding:max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));background:#1116126b;place-items:center;display:grid;position:fixed;inset:0}.admin-install-dialog{width:min(100%,420px);max-height:calc(100dvh - max(40px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));color:#1f2420;background:#fff;border:1px solid #dfe5df;border-radius:12px;gap:18px;padding:22px;display:grid;overflow-y:auto;box-shadow:0 24px 64px #1f242038}.admin-install-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.admin-install-title{align-items:center;gap:12px;display:flex}.admin-install-title img{border:1px solid #edf1ed;border-radius:10px;flex-shrink:0}.admin-install-header h2{margin:0;font-size:20px;line-height:1.3}.admin-install-header .icon-button{flex-shrink:0;min-width:44px;min-height:44px}.admin-install-dialog p{color:#606962;margin:0;font-size:15px;line-height:1.5}.admin-install-steps{gap:14px;margin:0;padding-left:24px;font-size:15px;line-height:1.5;display:grid}.admin-install-steps li{padding-left:4px}.admin-install-steps svg{color:#43614b;vertical-align:-3px;margin-right:6px;display:inline-block}.admin-install-dialog .primary-button{justify-content:center;align-items:center;gap:8px;min-height:44px;display:inline-flex}.admin-install-dialog .admin-install-status{color:#755c2d}.murka-workflow{grid-template-columns:minmax(0,1fr);gap:16px;min-width:0;display:grid}.workspace:has(.murka-workflow){overflow:clip visible}.murka-toolbar{z-index:5;background:#fff;align-items:center;gap:10px;padding:12px 0;display:flex;position:sticky;top:0}.murka-stage-picker{flex:1;min-width:0;position:relative}.murka-stage-picker-trigger{border:1px solid var(--phuket-border,#dce2e8);color:#17212b;width:100%;min-height:52px;font:inherit;text-align:left;cursor:pointer;background:#fff;border-radius:14px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:7px 7px 7px 16px;display:grid;box-shadow:0 1px 2px #172b420a}.murka-stage-picker-trigger[aria-expanded=true]{border-color:var(--phuket-accent,#176b5b);box-shadow:0 0 0 3px color-mix(in srgb,var(--phuket-accent,#176b5b) 14%,transparent)}.murka-stage-picker-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:16px;font-weight:700;overflow:hidden}.murka-stage-picker-count{color:#50615c;text-align:center;font-variant-numeric:tabular-nums;background:#eef3f1;border-radius:999px;min-width:28px;padding:4px 8px;font-size:13px;font-weight:700}.murka-stage-picker-chevron{width:40px;height:38px;color:var(--phuket-accent,#176b5b);background:#e9f5f0;border-radius:10px;place-items:center;transition:transform .16s;display:grid}.murka-stage-picker-trigger[aria-expanded=true] .murka-stage-picker-chevron{transform:rotate(180deg)}.murka-stage-picker-menu{z-index:20;border:1px solid var(--phuket-border,#dce2e8);background:#fff;border-radius:14px;gap:4px;max-height:min(60dvh,420px);padding:6px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow:auto;box-shadow:0 18px 48px #172b4229}.murka-stage-picker-menu button{color:#26332f;width:100%;min-height:46px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;font-size:15px;display:grid}.murka-stage-picker-menu button:hover,.murka-stage-picker-menu button:focus-visible{background:#f2f7f5;outline:none}.murka-stage-picker-menu button[aria-current]{color:var(--phuket-accent,#176b5b);background:#e9f5f0;font-weight:700}.murka-stage-picker-menu button>span:last-child{color:#56655f;text-align:center;font-variant-numeric:tabular-nums;background:#eef2f1;border-radius:999px;min-width:28px;padding:3px 8px;font-size:13px;font-weight:700}.murka-count,.murka-reader{white-space:nowrap;background:#eef2f6;border-radius:8px;padding:5px 9px;font-size:13px;font-weight:650}.murka-owner{color:#637082;flex:1;font-size:13px}.murka-desktop-stages{display:none}.murka-stage-content{touch-action:pan-y;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0;display:grid}.murka-order,.murka-parcel{background:#fff;border:1px solid #dce2e8;border-radius:16px;gap:14px;min-width:0;padding:20px;display:grid}.murka-order>header,.murka-parcel>header,.murka-packed-order>header{align-items:center;gap:12px;display:flex}.murka-order>header>div,.murka-packed-order>header>div{flex:1}.murka-order small,.murka-parcel small{color:#697689;font-size:13px;line-height:1.5;display:block}.murka-parcel h3{margin:0;font-size:18px}.murka-books{gap:0;margin:0;padding:0;list-style:none;display:grid}.murka-books li{border-top:1px solid #edf0f3;align-items:start;gap:12px;padding:12px 0;display:flex}.murka-books li>div{flex:1;min-width:0}.murka-books strong{overflow-wrap:anywhere;font-size:15px}.murka-book-link{color:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border:0;padding:0;font-size:15px;font-weight:650}.murka-book-link:hover{text-decoration:underline}.murka-reader-contact{color:#285c9c;margin-top:5px;font-size:13px;display:inline-block}.murka-meta{color:#5c6878;margin:0;font-size:14px;line-height:1.5}.murka-address{background:#f4f7fa;border-radius:12px;gap:12px;padding:16px;display:flex}.murka-address>svg{flex:none;margin-top:3px}.murka-address p{white-space:pre-line;overflow-wrap:anywhere;margin:6px 0 0}.murka-contact{flex-wrap:wrap;gap:8px 16px;font-size:14px;display:flex}.murka-contact a,.murka-receipt{color:#285c9c}.murka-receipt{align-items:center;gap:8px;display:inline-flex}.murka-packed-order{border:1px solid #e4e9ee;border-radius:12px;padding:16px}.murka-main-action{justify-content:center;width:100%;min-height:46px}.murka-parcel-actions{grid-template-columns:2fr 1fr;gap:10px;display:grid}.murka-parcel-actions button{justify-content:center;min-height:46px}.phuket-order-row.is-interbranch-issue{grid-template-columns:minmax(0,1fr);align-items:stretch;padding:8px 0 16px}.phuket-order-row.is-interbranch-issue .phuket-order-row-actions{grid-template-columns:auto minmax(360px,1fr);align-items:start;display:grid}.murka-issue-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;display:grid}.murka-issue-check{background:#f7f9fb;border:1px solid #d9e3eb;border-radius:11px;align-content:start;gap:9px;min-width:0;padding:12px;display:grid}.murka-issue-check.is-phuket{background:#f0f8f4;border-color:#b9d9cc}.murka-issue-check.is-murka{background:#f3f7fd;border-color:#cbdaf0}.murka-issue-check>span{color:#637082;font-size:13px;line-height:1.45}.murka-issue-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.murka-issue-actions button{white-space:normal;justify-content:center;min-height:42px}.murka-action-feedback span{line-height:1.45}.murka-missing-choice{cursor:pointer;align-items:flex-start;gap:10px;display:flex}.murka-missing-choice input{width:20px;height:20px;margin-top:1px}.murka-missing-choice span{gap:4px;display:grid}.murka-missing-choice small{color:#637082;line-height:1.4}.murka-book-menu{position:relative}.murka-book-menu summary{cursor:pointer;text-align:center;min-width:44px;min-height:44px;padding:10px;list-style:none}.murka-book-menu button{white-space:nowrap;z-index:2;color:#a12d36;background:#fff;border:1px solid #e1e5eb;border-radius:8px;padding:12px;position:absolute;right:0}.murka-contacts summary,.murka-history summary,.murka-order-address summary{cursor:pointer;color:#637082;padding:8px 0}.murka-history ul{color:#697689;font-size:13px;line-height:1.8}.murka-error{color:#a62c3b;font-size:14px}.murka-notification-warning{color:#6f5318;background:#fff8e8;border:1px solid #e3c57d;border-radius:10px;margin:0;padding:12px 14px;font-size:14px;line-height:1.45}.murka-toast{background:#eaf5ef;border-radius:10px;align-items:center;gap:14px;padding:12px 16px;display:flex}.murka-toast button{color:#216243;cursor:pointer;background:0 0;border:0;padding:6px}.murka-toast button:last-child{margin-left:auto}.murka-pagination{justify-content:center;align-items:center;gap:20px;display:flex}.murka-sheet{border:0;border-radius:20px;width:min(600px,100vw - 32px);max-height:85dvh;padding:24px;box-shadow:0 20px 100px #1c2d3c33}.murka-sheet::backdrop{background:#172b4266}.murka-sheet>header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.murka-sheet h3{margin:0}.murka-stage-menu{gap:4px;display:grid}.murka-stage-menu button{text-align:left;background:0 0;border:0;border-radius:10px;justify-content:space-between;gap:16px;padding:15px;font-size:16px;display:flex}.murka-stage-menu [aria-current]{color:#215a9e;background:#eaf2fc;font-weight:650}.murka-form{gap:16px;display:grid}.murka-form fieldset{border:1px solid #e0e6ed;border-radius:12px;gap:12px;min-width:0;padding:16px;display:grid}.murka-form legend{padding:0 6px;font-size:14px;font-weight:600}.murka-problem-book-link{max-width:100%;color:var(--phuket-accent,#176b5b);font:inherit;text-align:left;text-underline-offset:3px;cursor:pointer;overflow-wrap:anywhere;background:0 0;border:0;padding:2px 4px;text-decoration:underline;text-decoration-thickness:1px}.murka-problem-book-link:hover{color:#114d42}.murka-problem-book-link:focus-visible{outline-offset:3px;border-radius:4px;outline:2px solid #0b67c2}.murka-form textarea{min-height:90px}@media (width>=821px){.murka-stage-picker{display:none}.murka-toolbar{background:var(--phuket-surface,#f6f7f5);justify-content:flex-end;padding:0}.murka-desktop-stages{flex:1;gap:8px;min-width:0;padding:8px 0;display:flex;overflow-x:auto}.murka-desktop-stages button{white-space:nowrap;border:1px solid var(--phuket-border,#dce2e8);color:var(--phuket-muted);cursor:pointer;background:#fff;border-radius:10px;flex:none;align-items:center;gap:8px;padding:12px 14px;display:flex}.murka-desktop-stages button[aria-current]{background:var(--phuket-accent);color:#fff}}@media (width<=1200px) and (width>=701px){.murka-workflow .phuket-order-row{grid-template-columns:minmax(0,1fr);gap:0}.murka-workflow .phuket-order-row-main{grid-template-columns:minmax(145px,.8fr) minmax(120px,.6fr) minmax(220px,1.4fr)}.murka-workflow .phuket-order-date{grid-column:1/-1;align-items:baseline;gap:7px;display:flex}.murka-workflow .phuket-order-row-actions{justify-content:flex-end;padding:0 6px 15px}}.murka-route-addresses{grid-template-columns:minmax(0,720px);gap:12px;display:grid}.murka-parcel-orders{margin:0 -6px;padding:0 6px}.murka-workflow .phuket-order-row-main.without-created-at{grid-template-columns:minmax(155px,.9fr) minmax(260px,1.8fr) minmax(145px,.7fr)}.murka-workflow .phuket-order-row-main.without-created-at.without-date{grid-template-columns:minmax(155px,.8fr) minmax(280px,2fr)}.murka-workflow .phuket-order-row-main.without-date:not(.without-created-at){grid-template-columns:minmax(155px,.9fr) minmax(130px,.65fr) minmax(260px,1.8fr)}.murka-workflow .phuket-order-book-copy small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.murka-workflow .phuket-order-book-label{background:#eef8f4;border:1px solid #9dcfbd;border-radius:8px;justify-content:center;align-items:center;min-width:92px;padding:5px 8px;display:flex}.murka-workflow .phuket-order-books .murka-copy-label{color:var(--phuket-accent);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:17px;line-height:1.2}.murka-workflow .phuket-order-row-actions{flex-wrap:wrap}.murka-workflow .phuket-order-row.has-book-return-actions{grid-template-columns:minmax(0,1fr);align-items:stretch}.murka-workflow .phuket-order-row.has-book-return-actions .phuket-order-row-actions{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));width:100%;padding:0 6px 15px;display:grid}.murka-workflow .phuket-order-row.has-book-return-actions .phuket-order-row-actions>button{white-space:normal;width:100%;min-width:0}.murka-book-return-action strong{margin-left:4px;font-size:16px}.murka-workflow .phuket-order-detail-book{border:0;padding:4px 0}.murka-workflow .phuket-order-detail-book-link{min-width:0}.murka-workflow .phuket-order-detail-book-link strong{white-space:normal}.murka-receipt{justify-items:start;gap:8px;display:grid}.phuket-proof-image-link{cursor:zoom-in;padding:0}.admin-receipt-preview{object-fit:contain;max-width:100%;max-height:75dvh;margin:auto;display:block}@media (width<=820px){.murka-route-addresses{grid-template-columns:1fr}.murka-toolbar{top:calc(65px + max(0px, env(safe-area-inset-top) - 10px))}}@media (width<=700px){.murka-toolbar{flex-wrap:wrap;gap:8px;padding:10px 0}.murka-stage-picker-label{font-size:15px}.murka-owner{flex-basis:100%;order:4}.murka-order,.murka-parcel{gap:12px;padding:14px}.murka-parcel h3{font-size:16px}.murka-packed-order{padding:12px}.murka-sheet{width:100%;max-width:none;max-height:88dvh;padding:22px 18px calc(20px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;margin:auto 0 0}.murka-parcel-actions,.phuket-order-row.is-interbranch-issue .phuket-order-row-actions{grid-template-columns:1fr}.murka-issue-actions{grid-template-columns:1fr;width:100%}.murka-issue-buttons,.murka-workflow .phuket-order-row-main.without-created-at,.murka-workflow .phuket-order-row-main.without-created-at.without-date,.murka-workflow .phuket-order-row-main.without-date:not(.without-created-at){grid-template-columns:1fr}.murka-workflow .phuket-order-book-copy small{white-space:normal}.murka-workflow .phuket-order-row.has-book-return-actions .phuket-order-row-actions{grid-template-columns:1fr;padding:0 4px 4px}}@media (prefers-reduced-motion:no-preference){.murka-sheet[open]{animation:.18s ease-out murka-appear}@keyframes murka-appear{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}}.admin-pull-refresh{z-index:2;top:env(safe-area-inset-top,0px);color:#727a75;pointer-events:none;background:0 0;justify-content:center;align-items:center;transition:height .22s cubic-bezier(.2,.7,.3,1);display:flex;position:fixed;left:0;right:0;overflow:hidden}.admin-pull-refresh-spinner{stroke:currentColor;stroke-linecap:round;stroke-width:2.6px;flex-shrink:0}.admin-pull-refresh.is-refreshing .admin-pull-refresh-spinner{animation:.8s steps(12,end) infinite admin-pull-refresh-spin}.admin-pull-refresh-content{transition:transform .22s cubic-bezier(.2,.7,.3,1)}.admin-pull-refresh.is-dragging,.admin-pull-refresh-content.is-dragging{transition:none}@keyframes admin-pull-refresh-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.admin-pull-refresh,.admin-pull-refresh-content{transition:none}.admin-pull-refresh.is-refreshing .admin-pull-refresh-spinner{animation:none}}:root{color:#1f2420;font-synthesis:none;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;background:#f6f7f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.hua-hin-page{gap:18px}.muted-copy{color:#667069;margin:5px 0 0}.hua-hin-tabs{background:#edf1ed;border:1px solid #d9ded8;border-radius:10px;grid-template-columns:repeat(6,minmax(130px,1fr));gap:8px;padding:5px;display:grid;overflow-x:auto}.hua-hin-tabs button{color:#465049;text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;min-height:58px;padding:10px 12px;display:flex}.hua-hin-tabs button.active{color:#163d4c;background:#fff;border-color:#bad3dd;box-shadow:0 2px 7px #1f362b1a}.hua-hin-tabs strong{color:#145c72;text-align:center;background:#e3f1f5;border-radius:999px;min-width:27px;padding:3px 7px}.hua-hin-workspace,.hua-hin-queue,.hua-hin-location,.hua-hin-book-list,.hua-hin-orders{gap:14px;display:grid}.hua-hin-workspace{gap:22px}.hua-hin-collection-stage{padding:20px}.hua-hin-orders-stage{gap:0}.hua-hin-orders-stage>.phuket-order-list{padding:10px 20px 20px}.hua-hin-orders-stage>.phuket-stage-actions{border-top:1px solid var(--phuket-line);border-bottom:0;border-radius:0 0 18px 18px}.hua-hin-orders-stage .phuket-order-row-actions{flex-direction:column;align-items:stretch;width:min(100%,300px)}.hua-hin-orders-stage .phuket-order-row-actions>button{white-space:normal;width:100%}.hua-hin-explanation{color:#384740;background:#edf6f8;border-left:4px solid #2e7990;padding:12px 14px}.hua-hin-queue>h3{align-items:center;gap:9px;margin:0;display:flex}.hua-hin-queue>h3 span{color:#4a554e;background:#e6eae6;border-radius:999px;padding:2px 8px;font-size:14px}.hua-hin-location{background:#fff;border:1px solid #d8ded9;border-radius:9px;position:relative;overflow:visible}.hua-hin-location>h4{color:#27493e;background:#f3f7f4;border-bottom:1px solid #e3e7e3;border-radius:9px 9px 0 0;align-items:center;gap:7px;margin:0;padding:12px 15px;display:flex}.hua-hin-book-list{gap:7px;padding:10px}.hua-hin-location-actions{background:#f8faf8;border-top:1px solid #e3e7e3;border-radius:0 0 9px 9px;justify-content:flex-end;padding:10px;display:flex}.hua-hin-location-actions .phuket-ready-all-button{min-height:42px}.hua-hin-order-collection-progress{color:#7a5a18;background:#fff7df;border:1px solid #ead8a5;border-radius:999px;align-self:center;align-items:center;padding:6px 9px;font-size:12px;font-weight:700;display:inline-flex}.hua-hin-stage-guide{border:1px solid #dce8e1;border-radius:12px;justify-content:flex-start;width:100%}.hua-hin-stage-guide>span{width:100%;color:var(--phuket-ink);text-align:left;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.45}.hua-hin-queue-action{border:1px solid #dce8e1;border-radius:12px;justify-content:space-between}.hua-hin-operation-toast{z-index:70;pointer-events:none;width:min(520px,100vw - 36px);margin:0;animation:.18s ease-out hua-hin-toast-in;position:fixed;bottom:18px;left:298px;box-shadow:0 14px 34px #183e2f29}@keyframes hua-hin-toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}::view-transition-group(*){animation-duration:.18s;animation-timing-function:ease-out}.hua-hin-global-action{border-top:1px solid var(--phuket-line);border-bottom:0;border-radius:0 0 18px 18px;margin:0 -20px -20px}.hua-hin-book-row{border-bottom:1px solid #edf0ed;grid-template-columns:60px minmax(180px,1fr) auto auto;align-items:center;gap:14px;padding:12px 15px;display:grid}.hua-hin-book-row:last-child{border-bottom:0}.hua-hin-cover-button{color:#7a837c;background:#f1f3f1;border:1px solid #d9ded8;border-radius:5px;place-items:center;width:52px;height:68px;padding:0;display:grid;overflow:hidden}.hua-hin-cover-button img{object-fit:cover;width:100%;height:100%}.hua-hin-book-copy{gap:3px;display:grid}.hua-hin-book-copy span,.hua-hin-book-copy small{color:#687169}.hua-hin-book-copy .danger-copy{color:#9f2f2f}.hua-hin-copy-number{letter-spacing:.08em;color:#163d4c;text-align:center;min-width:106px;font-size:25px;font-weight:800}.hua-hin-book-list .hua-hin-copy-number{min-width:0;color:var(--phuket-accent);letter-spacing:.06em;font-size:18px;display:inline}.danger-button.subtle{color:#8f2929;background:#fff5f5;border-color:#dfb9b9;min-height:38px}.hua-hin-sticky-action{z-index:3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff0;border:1px solid #d6ded8;border-radius:9px;justify-content:flex-end;padding:12px;display:flex;position:sticky;bottom:14px;box-shadow:0 7px 24px #222e2724}.hua-hin-orders{grid-template-columns:repeat(auto-fill,minmax(330px,1fr))}.hua-hin-order-card{background:#fff;border:1px solid #d8ded9;border-radius:9px;align-content:start;gap:13px;padding:16px;display:grid}.hua-hin-order-card>header{justify-content:space-between;align-items:center;gap:14px;display:flex}.hua-hin-order-card>header>div{text-align:right;display:grid}.hua-hin-order-card>header span,.hua-hin-order-meta{color:#69726b;font-size:13px}.hua-hin-order-meta{flex-wrap:wrap;gap:6px 14px;display:flex}.hua-hin-order-books{gap:6px;display:grid}.hua-hin-order-books>div{border-top:1px solid #edf0ed;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding-top:8px;display:grid}.link-button{color:#145c72;text-align:left;background:0 0;border:0;justify-self:start;padding:0}.secondary-button.compact{min-height:34px;padding:0 10px}.hua-hin-cover-dialog{width:min(92vw,580px);padding:46px 18px 18px;position:relative}.hua-hin-cover-dialog .icon-button{position:absolute;top:8px;right:8px}.hua-hin-cover-dialog img{object-fit:contain;max-width:100%;max-height:76vh;margin:auto;display:block}.modal-panel.hua-hin-settings{border:1px solid #dfe7e2;border-radius:18px;flex-direction:column;gap:0;width:min(96vw,1120px);min-height:0;max-height:min(90dvh,900px);padding:0;display:flex;overflow:hidden}.hua-hin-settings-backdrop{overscroll-behavior:none}.hua-hin-settings-header{border-bottom:1px solid #e2e9e4;flex:none;justify-content:space-between;align-items:center;gap:18px;min-height:70px;padding:12px 20px;display:flex}.hua-hin-settings-header>div{gap:3px;display:grid}.hua-hin-settings-header span{color:#68756e;letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:700}.hua-hin-settings-header h3{margin:0;font-size:23px}.hua-hin-settings-tabs{background:#f7f9f7;border-bottom:1px solid #e2e9e4;flex:none;gap:8px;padding:8px 20px;display:flex}.hua-hin-settings-tabs button{color:#59675f;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:8px;min-height:36px;padding:6px 10px;display:inline-flex}.hua-hin-settings-tabs button.active{color:#145c48;background:#fff;border-color:#bcd3c8;box-shadow:0 2px 8px #223b2f12}.hua-hin-settings-tabs small{color:#68756e;text-align:center;background:#e8eeea;border-radius:999px;min-width:22px;padding:2px 6px;font-size:11px}.hua-hin-settings>.status-line{margin:14px 20px 0}.hua-hin-settings-loading{color:#68756e;place-items:center;min-height:280px;display:grid}.hua-hin-settings-content{overscroll-behavior:contain;flex:auto;min-height:390px;padding:14px 20px;overflow:hidden auto}.hua-hin-settings-section{gap:12px;display:grid}.hua-hin-settings-section.digest{background:#fbfcfb;border:1px solid #dfe7e2;border-radius:16px;width:min(100%,760px);margin:10px auto;padding:24px}.hua-hin-settings-section-heading,.hua-hin-settings-section-title{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.hua-hin-settings-section-heading{justify-content:flex-start}.hua-hin-settings-section-heading h4,.hua-hin-settings-section-title h4{margin:0;font-size:18px}.hua-hin-settings-section-heading p,.hua-hin-settings-section-title p{color:#68756e;max-width:720px;margin:4px 0 0;font-size:13px;line-height:1.45}.hua-hin-settings-section-icon{color:#126b54;background:#e9f4ef;border-radius:12px;flex:none;place-items:center;width:42px;height:42px;display:grid}.hua-hin-digest-fields,.hua-hin-digest-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.hua-hin-admin-schedule{border:1px solid #dfe7e2;border-radius:12px;gap:10px;min-width:0;margin:0;padding:12px;display:grid}.hua-hin-admin-schedule legend{color:#145c48;padding:0 5px;font-weight:750}.hua-hin-current-shelf{background:#f1f8f4;border:1px solid #bcd3c8;border-radius:13px;width:calc(50% - 5px);padding:14px}.hua-hin-current-shelf small{color:#59675f;line-height:1.4}.hua-hin-settings-switch{border-top:1px solid #e3e9e5;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;padding-top:16px;display:grid}.hua-hin-settings-switch input{width:18px;height:18px;margin-top:2px}.hua-hin-settings-switch>span{gap:3px;display:grid}.hua-hin-settings-switch small,.hua-hin-setting-card label>span{color:#68756e;font-size:12px}.hua-hin-location-settings-grid,.hua-hin-genre-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.hua-hin-location-settings-grid{grid-auto-rows:1fr;align-items:stretch}.hua-hin-genre-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hua-hin-setting-card{background:#fff;border:1px solid #dfe7e2;border-radius:13px;grid-template-rows:auto auto;gap:12px;min-width:0;padding:14px;display:grid;position:relative}.hua-hin-setting-card>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.hua-hin-setting-card>header>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.hua-hin-setting-card-actions{flex:none;align-items:center;gap:8px;display:flex}.hua-hin-delete-location-button{color:#9a332d;background:#fff8f7;border:1px solid #ead1ce;border-radius:9px;place-items:center;width:34px;height:34px;padding:0;display:grid}.hua-hin-delete-location-button:hover,.hua-hin-delete-location-button:focus-visible{color:#7f251f;background:#fcede9;border-color:#dbaaa5;outline:none;box-shadow:0 0 0 3px #9a332d1a}.hua-hin-delete-location-backdrop{z-index:1100;background:#101c166b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.hua-hin-delete-location-dialog{background:#fff;border:1px solid #dfe7e2;border-radius:16px;width:min(100%,520px);overflow:hidden;box-shadow:0 24px 70px #1220183d}.hua-hin-delete-location-dialog>header{border-bottom:1px solid #e2e9e4;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;display:flex}.hua-hin-delete-location-dialog>header span{color:#68756e;letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:700}.hua-hin-delete-location-dialog>header h4{margin:4px 0 0;font-size:21px}.hua-hin-delete-location-body{gap:16px;padding:20px;display:grid}.hua-hin-delete-location-body>p{color:#3f4c45;margin:0;font-size:15px}.hua-hin-delete-location-body .form-field{gap:6px;display:grid}.hua-hin-delete-location-body .form-field>span{color:#59675f;font-size:13px;font-weight:650}.hua-hin-delete-location-body select{color:#202722;background:#fff;border:1px solid #c8d0c9;border-radius:10px;min-height:44px;padding:9px 11px}.hua-hin-delete-location-warning{color:#7a4319;background:#fff7ed;border:1px solid #edc7a5;border-radius:11px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:12px;display:grid}.hua-hin-delete-location-warning p{margin:0;line-height:1.45}.hua-hin-delete-location-dialog>footer{background:#f8faf8;border-top:1px solid #e2e9e4;justify-content:flex-end;gap:10px;padding:12px 20px;display:flex}.hua-hin-setting-card.genre{padding-top:30px}.hua-hin-setting-card.genre>.hua-hin-compact-switch{position:absolute;top:8px;right:12px}.hua-hin-compact-switch{color:#536159;align-items:center;gap:6px;font-size:12px;display:inline-flex}.hua-hin-setting-card-fields{gap:10px;display:grid}.hua-hin-setting-card-fields.location{grid-template-columns:150px minmax(180px,1fr)}.hua-hin-setting-card-fields.rule{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) 72px}.hua-hin-setting-card-fields label,.hua-hin-floor-field{gap:5px;min-width:0;display:grid}.hua-hin-setting-card-fields input,.hua-hin-setting-card-fields select,.hua-hin-settings .form-field input,.hua-hin-settings .form-field select{color:#202722;background:#fff;border:1px solid #c8d0c9;border-radius:10px;outline:none;width:100%;min-width:0;min-height:44px;padding:9px 11px}.hua-hin-settings .form-field{align-content:start;gap:5px;display:grid}.hua-hin-settings .form-field>span,.hua-hin-floor-field>label{color:#68756e;font-size:12px}.hua-hin-setting-card-fields input:focus,.hua-hin-setting-card-fields select:focus,.hua-hin-settings .form-field input:focus,.hua-hin-settings .form-field select:focus{border-color:#73ad97;box-shadow:0 0 0 3px #126b541c}.hua-hin-floor-stepper{background:#fff;border:1px solid #c8d0c9;border-radius:10px;grid-template-columns:42px minmax(48px,1fr) 42px;min-width:0;min-height:44px;display:grid;overflow:hidden}.hua-hin-floor-stepper:focus-within{border-color:#73ad97;box-shadow:0 0 0 3px #126b541c}.hua-hin-floor-stepper button{color:#205d4c;background:#f1f6f3;border:0;place-items:center;min-width:42px;display:grid}.hua-hin-floor-stepper button:first-child{border-right:1px solid #dbe4de}.hua-hin-floor-stepper button:last-child{border-left:1px solid #dbe4de}.hua-hin-floor-stepper button:hover:not(:disabled),.hua-hin-floor-stepper button:focus-visible{background:#e2f0e9}.hua-hin-floor-stepper input{color:#17201b;text-align:center;min-width:0;min-height:42px;box-shadow:none;background:0 0;border:0;border-radius:0;outline:none;padding:6px;font-weight:750}.hua-hin-location-genres{border-top:1px solid #e5ebe7;grid-template-rows:auto minmax(0,1fr);align-content:stretch;gap:8px;padding-top:11px;display:grid}.hua-hin-location-genres>div:first-child{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.hua-hin-location-genres small,.hua-hin-location-genres p{color:#68756e;font-size:12px}.hua-hin-location-genres p{margin:0}.hua-hin-genre-chips{flex-wrap:wrap;gap:7px;display:flex}.hua-hin-genre-chips button{color:#425149;cursor:pointer;background:#f8faf8;border:1px solid #d6dfda;border-radius:999px;min-height:34px;padding:6px 11px;font-size:12px}.hua-hin-genre-chips button.selected{color:#0d6048;background:#e8f5ef;border-color:#86bba7;box-shadow:inset 0 0 0 1px #126b5417}.hua-hin-genre-picker{grid-template-rows:minmax(68px,1fr) auto;gap:9px;display:grid}.hua-hin-selected-genres{flex-wrap:wrap;align-content:flex-start;align-items:center;gap:7px;min-height:34px;display:flex}.hua-hin-selected-genres button{color:#0d6048;cursor:pointer;background:#e8f5ef;border:1px solid #86bba7;border-radius:999px;align-items:center;gap:6px;min-height:32px;padding:5px 9px 5px 11px;font-size:12px;display:inline-flex}.hua-hin-selected-genres button:hover,.hua-hin-selected-genres button:focus-visible{color:#8e3030;background:#fff1f1;border-color:#ba6d6d}.hua-hin-no-genres{color:#7b867f;font-size:12px}.hua-hin-genre-search{color:#68756e;background:#fff;border:1px solid #d6dfda;border-radius:10px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-height:40px;padding:0 10px;display:grid;position:relative}.hua-hin-genre-search:focus-within{border-color:#73ad97;box-shadow:0 0 0 3px #126b541c}.hua-hin-genre-search input{background:0 0;border:0;outline:0;width:100%;min-width:0;min-height:38px;padding:0}.hua-hin-genre-results{z-index:8;overscroll-behavior:contain;background:#fff;border:1px solid #d6dfda;border-radius:10px;max-height:240px;padding:5px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 14px 30px #1f2d2526}.hua-hin-genre-results button,.hua-hin-genre-results>span{color:#314039;text-align:left;background:0 0;border:0;border-radius:7px;min-height:38px;padding:8px 10px;font-size:13px}.hua-hin-genre-results button:hover,.hua-hin-genre-results button:focus-visible{color:#0d6048;background:#edf7f2}.hua-hin-genre-results>span{color:#7b867f}.hua-hin-settings-footer{background:#f8faf8;border-top:1px solid #e2e9e4;border-radius:0 0 18px 18px;flex:none;justify-content:flex-end;gap:10px;padding:10px 20px;display:flex}@media (width<=760px){.hua-hin-operation-toast{width:auto;bottom:12px;left:12px;right:12px}.hua-hin-page-header{grid-template-columns:1fr;gap:8px;display:grid}.hua-hin-page-header .page-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.hua-hin-page-header .page-actions button{min-height:42px}.phuket-orders-workspace{min-width:0}.hua-hin-collection-stage{gap:18px;padding:12px}.hua-hin-stage-guide{padding:10px 12px}.hua-hin-global-action{margin:0 -12px -12px}.hua-hin-global-action,.hua-hin-orders-stage>.phuket-stage-actions,.hua-hin-queue-action{flex-direction:column;align-items:stretch}.hua-hin-global-action .phuket-ready-all-button,.hua-hin-orders-stage>.phuket-stage-actions .phuket-ready-all-button,.hua-hin-queue-action .phuket-ready-all-button{width:100%}.hua-hin-orders-stage>.phuket-order-list{padding:10px}.hua-hin-orders-stage .phuket-order-row-actions{width:100%;max-width:none}.hua-hin-tabs{grid-template-columns:repeat(6,minmax(168px,1fr))}.hua-hin-book-row{grid-template-columns:52px minmax(0,1fr) auto;gap:10px;padding:11px}.hua-hin-copy-number{min-width:88px;font-size:21px}.hua-hin-book-row .danger-button{grid-column:2/-1;justify-self:start}.hua-hin-location-actions .phuket-ready-all-button{width:100%}.hua-hin-orders{grid-template-columns:1fr}.hua-hin-order-books>div{grid-template-columns:minmax(0,1fr) auto}.hua-hin-order-books .secondary-button{grid-column:1/-1;justify-self:start}.hua-hin-settings-row,.hua-hin-settings-row.rule{border:1px solid #e0e5e1;border-radius:7px;grid-template-columns:1fr;padding:10px}.hua-hin-settings-backdrop{align-items:stretch;padding:0}.hua-hin-settings{width:100%}.modal-panel.hua-hin-settings{border:0;border-radius:0;width:100%;height:100dvh;max-height:100dvh;overflow:hidden}.hua-hin-settings-tabs{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 12px;display:grid}.hua-hin-settings-tabs button{text-align:center;justify-content:center;min-width:0}.hua-hin-settings-content{min-height:0;padding:12px}.hua-hin-settings-section.digest{margin:0;padding:16px}.hua-hin-settings-section-title{flex-direction:column;align-items:stretch}.hua-hin-settings-section-title .secondary-button,.hua-hin-current-shelf{width:100%}.hua-hin-digest-fields,.hua-hin-digest-schedule-grid,.hua-hin-location-settings-grid,.hua-hin-genre-settings-grid,.hua-hin-setting-card-fields.location,.hua-hin-setting-card-fields.rule{grid-template-columns:1fr}.hua-hin-location-settings-grid{grid-auto-rows:auto}.hua-hin-settings-footer{padding:10px 12px max(10px, env(safe-area-inset-bottom))}.hua-hin-settings-footer button{flex:1 1 0}.hua-hin-setting-card>header{align-items:flex-start}.hua-hin-setting-card-actions{flex-direction:column-reverse;align-items:flex-end}.hua-hin-delete-location-backdrop{align-items:end;padding:0}.hua-hin-delete-location-dialog{border-bottom:0;border-left:0;border-right:0;border-radius:18px 18px 0 0;width:100%}.hua-hin-delete-location-dialog>footer button{flex:1 1 0}.hua-hin-genre-chips button,.hua-hin-selected-genres button{min-height:40px}}@media (prefers-reduced-motion:reduce){.hua-hin-operation-toast,.hua-hin-skeleton-copy span,.hua-hin-skeleton-copy strong,.hua-hin-skeleton-copy small,.hua-hin-skeleton-body i{animation:none}}.inventory-shell{gap:22px}.inventory-mode-tabs{background:#edf1ed;border:1px solid #d9ded8;border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(100%,920px);padding:6px;display:grid}.inventory-mode-tabs button{color:#4f5952;text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-width:0;min-height:76px;padding:11px 14px;transition:border-color .16s,box-shadow .16s,color .16s,background .16s;display:grid}.inventory-mode-tabs button:hover{color:#25302a;background:#ffffffb3}.inventory-mode-tabs button:focus-visible{outline-offset:2px;outline:3px solid #176c8f3d}.inventory-mode-tabs button.active{color:#163d4c;background:#fff;border-color:#bad3dd;box-shadow:0 2px 7px #1f362b1a}.inventory-mode-icon{color:#496058;background:#dfe6e1;border-radius:10px;place-items:center;width:42px;height:42px;display:grid}.inventory-mode-tabs button.active .inventory-mode-icon{color:#fff;background:#176c8f}.inventory-mode-copy{gap:3px;min-width:0;display:grid}.inventory-mode-copy strong{font-size:16px;line-height:1.25}.inventory-mode-copy small{color:#687069;font-size:13px;line-height:1.35}.inventory-page{max-width:920px}.inventory-header h1,.inventory-report h2,.inventory-start-card h2{margin:0}.inventory-header p,.inventory-start-card p{color:#687069;margin:6px 0 0;line-height:1.5}.eyebrow{color:#176c8f;letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px;font-size:12px;font-weight:700;display:block}.inventory-page .primary-action,.inventory-page .secondary-action{border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 15px;font-weight:650;display:inline-flex}.inventory-page .primary-action{color:#fff;background:#176c8f}.inventory-page .secondary-action{color:#25302a;background:#fff;border-color:#c8d0c9}.inventory-branch-field{color:#59625b;gap:8px;max-width:480px;font-size:15px;font-weight:600;display:grid}.inventory-branch-field select{color:#202722;background:#fff;border:1px solid #bac5bc;border-radius:12px;width:100%;min-height:56px;padding:0 44px 0 16px;font-size:18px;font-weight:500}.inventory-start-card,.inventory-progress,.inventory-report,.inventory-report-group{background:#fff;border:1px solid #d9ded8;border-radius:10px}.inventory-start-card{justify-items:start;gap:12px;padding:28px;display:grid}.inventory-start-card>svg{color:#176c8f}.inventory-progress{gap:12px;padding:18px 20px;display:grid}.inventory-progress-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.inventory-progress-heading>div{gap:3px;display:grid}.inventory-progress-heading>div>span,.inventory-progress small{color:#687069;font-size:13px}.inventory-progress-heading strong{font-size:22px;line-height:1.2}.inventory-progress-percent{color:#14553f;text-align:center;background:#e9f6ef;border-radius:999px;flex:none;min-width:54px;padding:7px 10px;font-size:14px;font-weight:700}.inventory-progress-track{background:#e5e9e5;border-radius:999px;height:10px;overflow:hidden}.inventory-progress-track span{border-radius:inherit;background:#17805b;height:100%;transition:width .2s;display:block}.inventory-progress-extra{color:#5c471c;background:#fff8e6;border:1px solid #ead9a7;border-radius:10px;align-items:center;gap:12px;padding:11px 12px;display:flex}.inventory-progress-extra>strong{color:#754f09;background:#ffe8a8;border-radius:999px;place-items:center;min-width:46px;min-height:38px;font-size:18px;line-height:1;display:grid}.inventory-progress-extra>span{gap:2px;display:grid}.inventory-progress-extra b{font-size:14px;line-height:1.3}.inventory-progress-extra small{color:#78653c}.inventory-camera-frame{color:#fff;background:#111;border-radius:12px;min-height:300px;position:relative;overflow:hidden}.inventory-camera-frame video{object-fit:cover;width:100%;height:min(52vh,520px);display:block}.inventory-camera-frame>span{text-align:center;text-shadow:0 1px 8px #000;position:absolute;bottom:16px;left:16px;right:16px}.inventory-camera-guide{aspect-ratio:1;border:3px solid #fff;border-radius:16px;width:min(64vw,250px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 999px #0000003d}.inventory-footer-actions,.inventory-report-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.inventory-scan-actions,.inventory-manual-entry{gap:14px;display:grid}.inventory-scan-actions>button{width:100%}.inventory-manual-divider{color:#687069;text-align:center;align-items:center;gap:12px;font-size:14px;line-height:1.35;display:flex}.inventory-manual-divider:before,.inventory-manual-divider:after{content:"";background:#d9ded8;flex:auto;height:1px}.inventory-manual-divider span{max-width:320px}.inventory-manual-form{align-items:center;gap:8px;display:flex}.inventory-manual-form input{letter-spacing:.12em;border:1px solid #c8d0c9;border-radius:7px;width:112px;min-height:44px;padding:0 12px;font-size:19px}.inventory-last-scan{border:1px solid #0000;border-radius:10px;align-items:center;gap:14px;padding:16px 18px;display:flex}.inventory-last-scan.success{color:#14553f;background:#e9f6ef;border-color:#cbe7d7}.inventory-last-scan.warning{color:#6f4b0a;background:#fff6da;border-color:#f0dfab}.inventory-last-scan.error{color:#8b2727;background:#fff0ee;border-color:#efcfcb}.inventory-last-scan div{gap:3px;min-width:0;display:grid}.inventory-last-scan strong{overflow-wrap:anywhere;font-size:18px}.inventory-last-scan small{opacity:.78}.inventory-last-scan p{margin:4px 0 0;font-size:13px;line-height:1.4}.danger-link{color:#8b2727;background:0 0;border:0;min-height:42px}.inventory-report{gap:18px;padding:20px;display:grid}.inventory-report-exit{justify-content:flex-end;padding-top:2px;display:flex}.inventory-report-group{overflow:hidden}.inventory-report-group>header{background:#f7f9f7;border-bottom:1px solid #e4e8e4;justify-content:space-between;align-items:center;padding:13px 16px;display:flex}.inventory-report-group h3{margin:0;font-size:16px}.inventory-report-group header span{text-align:center;background:#e6ece7;border-radius:999px;min-width:27px;padding:4px 7px}.inventory-report-list{display:grid}.inventory-report-item{border-bottom:1px solid #edf0ed;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.inventory-report-item:last-child{border-bottom:0}.inventory-report-item>div{gap:4px;min-width:0;display:grid}.inventory-report-book-link{color:#202722;text-align:left;text-underline-offset:3px;background:0 0;border:0;justify-self:start;padding:0;font-weight:700;line-height:1.3;-webkit-text-decoration:underline #aab9ae;text-decoration:underline #aab9ae}.inventory-report-book-link:hover,.inventory-report-book-link:focus-visible{color:#176c8f;text-decoration-color:currentColor}.inventory-report-item span,.inventory-report-item small{color:#687069;font-size:13px}.inventory-report-item small{color:#8b2727}.inventory-conflict-message{color:#8b2727;margin:4px 0 0;font-size:13px;font-weight:650;line-height:1.35}.inventory-status-change{color:#722828;background:#fff5f4;border:1px solid #efd1ce;border-radius:9px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;max-width:360px;margin-top:5px;padding:9px 10px;display:grid}.inventory-status-change>span:not([aria-hidden]){gap:2px;display:grid}.inventory-status-change small,.inventory-report-item .inventory-status-change small{color:#8f6865;font-size:11px;font-weight:600}.inventory-status-change strong{color:#4d2422;font-size:13px;line-height:1.25}.inventory-action-state{background:#eef1ee;border-radius:999px;flex:none;padding:6px 9px;font-size:12px;font-weight:650}.inventory-action-state.applied,.inventory-action-state.not_needed{color:#14553f;background:#e9f6ef}.inventory-action-state.failed,.inventory-action-state.conflict{color:#8b2727;background:#fff0ee}.inventory-history{gap:8px;display:grid}.inventory-history h2{margin:8px 0 2px;font-size:18px}.inventory-history button{color:#25302a;background:#fff;border:1px solid #d9ded8;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:50px;padding:10px 13px;display:flex}.enrichment-workspace{max-width:920px}.enrichment-catalog-picker,.enrichment-photo-step{background:#fff;border:1px solid #d9ded8;border-radius:12px;gap:16px;padding:20px;display:grid}.enrichment-catalog-picker label{color:#59625b;gap:7px;font-size:14px;font-weight:650;display:grid}.enrichment-catalog-picker input{min-height:48px;font:inherit;border:1px solid #bac5bc;border-radius:9px;padding:0 14px}.enrichment-search-results{gap:6px;display:grid}.enrichment-search-results button{color:#202722;text-align:left;background:#fff;border:1px solid #e0e5e1;border-radius:9px;gap:3px;padding:12px 14px;display:grid}.enrichment-search-results button:hover,.enrichment-search-results button:focus-visible{background:#f3fafc;border-color:#176c8f}.enrichment-search-results span,.enrichment-photo-step p{color:#687069;margin:0;font-size:13px}.enrichment-photo-step h2{margin:0}.enrichment-photo-actions{flex-wrap:wrap;gap:8px;display:flex}.enrichment-file-action{cursor:pointer}.enrichment-file-action input{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.enrichment-photo-name{color:#14553f;font-size:13px}.enrichment-report{gap:0;display:grid}.enrichment-report-item{border:1px solid #edf0ed;border-radius:10px;grid-template-columns:minmax(0,1fr) 248px;align-items:start;margin-top:8px;display:grid}.enrichment-report-actions{align-content:start;gap:8px;width:248px;display:grid}.enrichment-report-actions button{width:100%;min-height:44px}.enrichment-report-item p{color:#8b2727;margin:3px 0;font-size:13px}.enrichment-comparison-table-wrap{background:#fff;border:1px solid #dfe6e1;border-radius:10px;margin:8px 0 0;overflow:hidden}.enrichment-comparison-table{border-collapse:collapse;table-layout:fixed;color:#465149;width:100%;min-width:0;font-size:12px}.enrichment-comparison-table th,.enrichment-comparison-table td{text-align:left;vertical-align:top;overflow-wrap:anywhere;padding:9px 10px}.enrichment-comparison-table thead{background:#f3f6f4}.enrichment-comparison-table thead th{color:#36453b;font-weight:700}.enrichment-comparison-table thead th:first-child,.enrichment-comparison-table tbody th{width:22%}.enrichment-comparison-table tbody th{color:#36453b;font-weight:700}.enrichment-comparison-table tbody tr+tr{border-top:1px solid #e4e9e5}.enrichment-review-option{cursor:pointer;border:1px solid #0000;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;min-height:38px;margin:-5px -6px;padding:6px;display:grid}.enrichment-review-option[data-selected=true]{color:#244b3b;background:#eef7f3;border-color:#8fb8a8}.enrichment-review-option:focus-within{outline-offset:1px;outline:2px solid #176c8f}.enrichment-review-option input{accent-color:#176c8f;width:17px;height:17px;margin:1px 0 0}.enrichment-detected-identifiers,.enrichment-sources{margin-top:8px}.enrichment-detected-identifiers{background:#f2f7f4;border-radius:8px;flex-wrap:wrap;gap:4px 8px;padding:9px 10px;display:flex}.enrichment-detected-identifiers strong,.enrichment-detected-identifiers span{color:#274d3d;font-size:12px}.inventory-report-item .enrichment-sources{color:#687069}.enrichment-isbn-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-top:10px;display:grid}.enrichment-isbn-form label{color:#465149;gap:5px;font-size:12px;font-weight:700;display:grid}.enrichment-isbn-form input{background:#fff;border:1px solid #cdd7d0;border-radius:8px;width:100%;min-height:42px;padding:9px 10px}.enrichment-report-item .enrichment-isbn-status{color:#216044;margin:8px 0 0;font-size:12px;font-weight:700}.enrichment-report-item .enrichment-isbn-status[data-kind=error]{color:#8b2727}@media (width<=680px){.inventory-header,.inventory-heading,.inventory-footer-actions,.inventory-report-heading{flex-direction:column;align-items:stretch}.inventory-page .primary-action,.inventory-page .secondary-action{width:100%}.inventory-manual-form{grid-template-columns:auto minmax(0,1fr);display:grid}.inventory-manual-form input{width:100%}.inventory-manual-form button{grid-column:1/-1}.inventory-branch-field{max-width:none}.inventory-progress{padding:16px}.inventory-progress-heading strong{font-size:20px}.inventory-report{padding:12px}.inventory-report-item{flex-direction:column;align-items:stretch}.inventory-report-item .secondary-action,.inventory-report-exit .primary-action{width:100%}.inventory-mode-tabs{grid-template-columns:1fr;gap:7px;width:100%;padding:7px}.inventory-mode-tabs button{min-height:74px;padding:11px 12px}.enrichment-photo-actions{display:grid}.enrichment-report-item{grid-template-columns:minmax(0,1fr)}.enrichment-report-actions{width:100%}.enrichment-isbn-form{grid-template-columns:minmax(0,1fr)}.enrichment-isbn-form .secondary-action{width:100%}.enrichment-comparison-table-wrap{background:0 0;border:0;border-radius:0;overflow:visible}.enrichment-comparison-table thead{display:none}.enrichment-comparison-table,.enrichment-comparison-table tbody,.enrichment-comparison-table tr,.enrichment-comparison-table th,.enrichment-comparison-table td{width:100%;display:block}.enrichment-comparison-table tbody{gap:10px;display:grid}.enrichment-comparison-table tbody tr{background:#fff;border:1px solid #dfe6e1;border-radius:12px;padding:14px}.enrichment-comparison-table tbody tr+tr{border-top:1px solid #dfe6e1}.enrichment-comparison-table tbody th,.enrichment-comparison-table tbody td{border-bottom:0;padding:0}.enrichment-comparison-table tbody th{letter-spacing:.02em;width:100%;margin-bottom:10px;font-size:12px}.enrichment-comparison-table tbody td{grid-template-columns:minmax(0,1fr);gap:6px;margin-top:0;display:grid}.enrichment-comparison-table tbody td+td{margin-top:10px}.enrichment-comparison-table tbody td:before{content:attr(data-label);color:#66716a;letter-spacing:.02em;text-transform:uppercase;font-size:11px;font-weight:700;line-height:1.3}.enrichment-review-option{color:#465149;background:#fafbfa;border-color:#d9e1dc;border-radius:10px;align-items:start;min-height:52px;margin:0;padding:11px 12px;font-size:14px;line-height:1.4}.enrichment-review-option[data-selected=true]{background:#eaf5f0;border-color:#75a995;box-shadow:0 0 0 1px #75a9952e}.enrichment-review-option input{width:20px;height:20px;margin-top:0}}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,input,select,textarea{font:inherit}select:not([multiple]){appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Crect x='0.5' y='0.5' width='31' height='31' rx='9.5' fill='%23eef6f2' stroke='%23cfe0d7'/%3E%3Cpath d='m11 13.5 5 5 5-5' fill='none' stroke='%23125f4c' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-position:right 8px center!important;background-repeat:no-repeat!important;background-size:32px 32px!important;padding-right:52px!important}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.62}.login-page{min-height:100vh;padding:max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));place-items:center;display:grid}.session-loading-page{place-items:center;min-height:100vh;display:grid}.session-loading-page .brand-mark{opacity:.78}.login-panel{background:#fff;border:1px solid #d9ded8;border-radius:8px;width:min(100%,420px);padding:28px;box-shadow:0 16px 42px #1f242014}.login-brand,.brand-mark{align-items:center;gap:12px;display:flex}.login-brand{margin-bottom:28px}.login-brand svg,.brand-mark svg{color:#176c8f}.login-brand h1{letter-spacing:0;margin:0;font-size:28px;font-weight:700}.login-panel .primary-button{width:100%;margin-top:16px}.login-brand p,.brand-mark span{color:#687069;margin:0;font-size:13px}.app-shell{isolation:isolate;grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.mobile-topbar,.mobile-menu{display:none}.sidebar{background:#fff;border-right:1px solid #d9ded8;flex-direction:column;gap:22px;padding:22px 16px;display:flex}.brand-mark{min-height:44px;padding:0 6px}.brand-mark strong{letter-spacing:0;font-size:18px;display:block}.nav-list{gap:6px;display:grid}.nav-item,.icon-button,.primary-button,.secondary-button,.danger-button,.success-button{border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 14px;display:inline-flex}.nav-item{color:#39413b;background:0 0;justify-content:flex-start;width:100%}.nav-item.active{color:#0f5f46;background:#edf7f2;border-color:#d5e7df}.nav-ai-badge{color:#0f5f46;background:#dff3e8;border-radius:999px;margin-left:auto;padding:2px 8px;font-size:12px;font-weight:700;line-height:1.3}.sidebar-footer{align-items:center;gap:10px;margin-top:auto;display:flex}.locale-switch{background:#f5f7f5;border:1px solid #d9ded8;border-radius:8px;grid-template-columns:repeat(2,minmax(42px,1fr));gap:2px;padding:3px;display:inline-grid}.locale-switch button{color:#59625b;letter-spacing:.04em;background:0 0;border:0;border-radius:5px;min-height:34px;padding:0 10px;font-size:12px;font-weight:750}.locale-switch button:hover{color:#0f5f46;background:#fff}.locale-switch button.active{color:#0f5f46;background:#fff;box-shadow:0 1px 3px #1f24201f}.sidebar-locale-switch{width:100%}.login-locale-switch{justify-self:end;margin:-4px -4px 8px 0}.reader-facing-language-notice,.book-photo-capture-notice{color:#214f60;background:#eef7fa;border-left:3px solid #176c8f;border-radius:4px;grid-column:1/-1;margin:0;padding:10px 12px;font-size:13px;line-height:1.45}@media (width>=821px){.sidebar{align-self:start;height:100dvh;position:sticky;top:0;overflow:hidden}.brand-mark,.sidebar-footer{flex:none}.nav-list{flex:auto;align-content:start;min-height:0;overflow-y:auto}}.admin-identity{flex:1;min-width:0}.admin-identity span,.admin-identity small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.admin-identity span{font-size:13px}.admin-identity small{color:#69736b}.icon-button{color:#515b54;background:#eef1ee;width:40px;padding:0}.workspace{background:#f6f7f5;min-width:0;padding:28px;overflow-x:hidden}.route-progress{z-index:120;pointer-events:none;background:#176c8f24;width:100%;height:3px;position:fixed;top:0;left:0;overflow:hidden}.route-progress:after{content:"";background:#176c8f;width:38%;animation:.9s ease-in-out infinite route-progress-slide;position:absolute;inset:0 auto 0 0}@keyframes route-progress-slide{0%{transform:translate(-105%)}to{transform:translate(365%)}}.workspace-inner{gap:18px;width:min(100%,1120px);display:grid}.workspace-inner.narrow{width:min(100%,820px)}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.page-title-row{align-items:center;gap:10px;min-width:0;display:flex}.page-header h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:28px;font-weight:700;line-height:1.12}.page-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.toolbar{background:#fff;border:1px solid #d9ded8;border-radius:8px;gap:14px;padding:16px;display:grid}.compact-toolbar{width:min(100%,360px)}.search-field{background:#fff;border:1px solid #c8d0c9;border-radius:6px;align-items:center;gap:10px;min-height:42px;padding:0 12px;display:flex}.search-field svg{color:#687069}.search-field input{border:0;outline:0;width:100%;min-width:0}.filter-grid{grid-template-columns:repeat(6,minmax(140px,1fr));align-items:start;gap:12px;display:grid}.tool-panel,.data-section{background:#fff;border:1px solid #d9ded8;border-radius:8px}.tool-panel{gap:16px;padding:18px;display:grid}.control-grid{grid-template-columns:minmax(220px,1fr) minmax(220px,320px);gap:14px;display:grid}.file-drop{color:#2f3531;background:#f8faf8;border:1px dashed #bfc8c0;border-radius:8px;align-items:center;gap:12px;min-height:72px;padding:16px;display:flex;position:relative}.file-drop input{cursor:pointer;opacity:0;position:absolute;inset:0}.field{align-content:start;gap:7px;display:grid}.field span{color:#59625b;font-size:13px}.field input,.field select,.field textarea{color:#202722;background:#fff;border:1px solid #c8d0c9;border-radius:6px;width:100%;min-height:44px;padding:9px 11px}.field textarea{resize:vertical}.field small{color:#687069;font-size:12px}.field-error{color:#8b2727;font-size:12px}.field.compact{align-content:start}.button-row,.form-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.primary-button{color:#fff;background:#145c72}.secondary-button{color:#2d312e;background:#fff;border-color:#c8d0c9}.danger-button{color:#fff;background:#9f2f2f}.success-button{color:#fff;background:#147a4d}.status-line{border-radius:6px;align-items:center;gap:8px;min-height:36px;padding:9px 11px;font-size:14px;line-height:1.35;display:flex}.status-line.success{color:#14553f;background:#e9f6ef}.status-line.error{color:#8b2727;background:#fff0ee}.phuket-orders-feedback{z-index:1200;top:max(12px, env(safe-area-inset-top));background:#fff;border:1px solid #14553f29;border-radius:10px;width:min(520px,100vw - 24px);position:fixed;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 12px 32px #1e272238}.transfer-page-lead,.transfer-scanner-heading p{color:#687069;margin:7px 0 0;line-height:1.45}.transfer-direction-grid{grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr) auto;align-items:end;gap:14px;display:grid}.transfer-direction-arrow{color:#687069;align-self:center;margin-top:22px}.transfer-swap-button{white-space:nowrap}.transfer-initial-fund-note{color:#6e4d08;background:#fff4cf;border-radius:6px;padding:12px 14px;line-height:1.4}.transfer-scanner-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.transfer-scanner-heading h3,.transfer-book-card h3{margin:0}.transfer-code-form{grid-template-columns:minmax(240px,1fr) auto;align-items:end;gap:12px;display:grid}.transfer-code-input{color:#687069;background:#fff;border:1px solid #c8d0c9;border-radius:6px;align-items:center;gap:9px;min-height:44px;padding:0 11px;display:flex}.transfer-code-input:focus-within{border-color:#145c72;box-shadow:0 0 0 2px #145c7224}.transfer-code-input input{border:0;outline:0;min-height:40px;padding:0}.transfer-camera-frame{width:min(100%,520px);margin-inline:auto}.transfer-confirmation{gap:18px;padding:18px;display:grid}.transfer-book-card{grid-template-columns:88px minmax(0,1fr);align-items:center;gap:16px;display:grid}.transfer-book-card img,.transfer-cover-placeholder{object-fit:cover;background:#eef2ee;border-radius:6px;width:88px;height:124px}.transfer-cover-placeholder{color:#687069;place-items:center;display:grid}.transfer-book-card h3{margin-top:10px;font-size:21px}.transfer-book-card p{color:#687069;margin:5px 0 9px}.transfer-confirmation-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}@media (width<=820px){.transfer-direction-grid,.transfer-code-form{grid-template-columns:1fr}.transfer-direction-arrow{display:none}.transfer-scanner-heading{flex-direction:column;align-items:stretch}.transfer-confirmation-actions>button,.transfer-code-form>button,.transfer-swap-button{width:100%}}.status-badge{border-radius:999px;align-items:center;min-height:26px;padding:0 9px;font-size:12px;font-weight:600;display:inline-flex}.catalog-status-stack{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.storage-assignment-badge{color:#76520b;white-space:nowrap;background:#fff8df;border:1px solid #e5bf6c;border-radius:999px;align-items:center;gap:5px;min-height:26px;padding:0 9px;font-size:12px;font-weight:650;display:inline-flex}.storage-assignment-badge small{color:#5d4108;background:#f3d991;border-radius:999px;place-items:center;min-width:18px;min-height:18px;padding:0 5px;font-size:11px;font-weight:700;display:inline-grid}.status-badge.available{color:#14553f;background:#e9f6ef}.status-badge.reserved{color:#755104;background:#fff3c4}.status-badge.on_loan{color:#74440f;background:#fff4dd}.status-badge.pending_catalog,.status-badge.in_transit,.status-badge.in_transit{color:#1d5672;background:#e8f4fa}.status-badge.missing{color:#76520b;background:#fff1c4}.status-badge.retired{color:#6c3131;background:#f6e9e9}.status-badge.unavailable{color:#59615c;background:#edf0ed}.status-badge.user-draft{color:#4d4f5f;background:#ececf6}.status-badge.user-active{color:#14553f;background:#e9f6ef}.status-badge.user-admin_created{color:#1d5672;background:#e8f4fa}.status-badge.user-blocked{color:#6c3131;background:#f6e9e9}.status-badge.admin-active{color:#14553f;background:#e9f6ef}.status-badge.admin-pending_password{color:#74440f;background:#fff4dd}.status-badge.admin-disabled{color:#6c3131;background:#f6e9e9}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.metric-card{background:#fff;border:1px solid #d9ded8;border-radius:8px;align-content:space-between;gap:10px;min-height:118px;padding:16px;display:grid}.metric-card span,.metric-card small,.muted-line{color:#687069}.metric-card span{font-size:13px}.metric-card strong{letter-spacing:0;font-size:34px;line-height:1}.metric-card small,.muted-line{font-size:13px}.muted-line{margin-top:4px;display:block}.analytics-workspace{width:min(100%,1240px)}.header-field{min-width:132px}.analytics-channel-panel{gap:18px}.channel-form{grid-template-columns:repeat(5,minmax(120px,1fr)) auto;align-items:end;gap:12px;display:grid}.analytics-channel-table{min-width:920px}.link-cell{overflow-wrap:anywhere;color:#145c72;max-width:360px;font-size:13px}.analytics-layout{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:18px;display:grid}.analytics-chart-section{min-width:0}.chart-wrap{gap:12px;padding:14px 16px 16px;display:grid}.line-chart,.bar-chart{width:100%;height:auto;overflow:visible}.chart-grid-line{stroke:#e4e8e3;stroke-width:1px}.chart-axis-label{fill:#687069;font-size:12px}.webapp-bar{fill:#145c72;opacity:.78}.webapp-unique-line{stroke:#147a4d;stroke-width:3px}.chart-legend{color:#59625b;flex-wrap:wrap;gap:10px 16px;font-size:13px;display:flex}.chart-legend span{align-items:center;gap:7px;display:inline-flex}.chart-legend i{border-radius:999px;width:10px;height:10px}.funnel-list{gap:12px;padding:16px;display:grid}.funnel-row{gap:8px;display:grid}.funnel-meta{justify-content:space-between;align-items:center;gap:12px;display:flex}.funnel-meta strong{font-size:14px}.funnel-meta span{color:#687069;font-size:13px}.funnel-track{background:#edf1ee;border-radius:999px;height:12px;overflow:hidden}.funnel-bar{border-radius:inherit;background:#145c72;min-width:0;height:100%;display:block}.retention-table{min-width:760px}.retention-cell,.retention-empty{text-align:center;min-width:78px;font-weight:700}.retention-empty{color:#8a938d}.status-badge.donation-draft{color:#4d4f5f;background:#ececf6}.status-badge.donation-placed{color:#74440f;background:#fff4dd}.data-section{overflow:hidden}.section-heading{border-bottom:1px solid #e4e8e3;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.section-heading h3{letter-spacing:0;margin:0;font-size:16px}.section-heading span{color:#687069;font-size:13px}.book-copies-heading-title{align-items:center;gap:8px;display:flex}.table-wrap{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.pagination{color:#687069;border-top:1px solid #e4e8e3;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:14px;display:flex}.pagination-actions{align-items:center;gap:10px;display:flex}.pagination-button{min-height:36px}.pagination-page{color:#39413b;text-align:center;min-width:68px;font-weight:700}table{border-collapse:collapse;width:100%;min-width:760px;font-size:14px}.donation-table,.feedback-table{min-width:1080px}.users-table{min-width:1040px}.admins-table{min-width:1120px}.table-action-row{flex-wrap:wrap;gap:8px;display:flex}.user-loans-table{min-width:1120px}.user-favorites-table{min-width:660px}.user-favorite-book{align-items:center;gap:12px;display:flex}.user-favorite-cover{object-fit:contain;border-radius:4px;flex-shrink:0;width:42px;height:60px}.user-block-history-table{min-width:820px}.user-profile-history-table{min-width:1080px}.user-donations-table{min-width:920px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #eef1ee;padding:11px 16px}th{color:#687069;text-transform:uppercase;font-size:12px;font-weight:600}.sort-header{min-height:24px;color:inherit;font:inherit;font-weight:inherit;letter-spacing:inherit;text-align:left;text-transform:inherit;background:0 0;border:0;align-items:center;gap:6px;padding:0;display:inline-flex}.sort-header svg{color:#8a938d;flex:none}.sort-header.active{color:#202722}.sort-header.active svg{color:#145c72}.table-action-button{min-height:34px;padding:0 11px}.reservation-page{--reservation-accent:#146b55;--reservation-border:#dbe4df;--reservation-muted:#68736c;gap:16px}.phuket-orders-page{--phuket-ink:#18221e;--phuket-muted:#69766f;--phuket-line:#dfe7e2;--phuket-soft:#f6f8f6;--phuket-accent:#126b54;color:var(--phuket-ink);align-content:start;gap:24px;display:grid}.phuket-channel-switcher{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:8px;margin-bottom:12px;display:grid}.phuket-channel-switcher button{color:var(--phuket-ink);text-align:left;border:1px solid var(--phuket-line);cursor:pointer;background:#fff;border-radius:14px;gap:3px;padding:14px 16px;transition:border-color .14s,background .14s,box-shadow .14s;display:grid}.phuket-channel-switcher button:hover{border-color:#afc9bd}.phuket-channel-switcher button.active{background:#eef8f3;border-color:#9bc5b4;box-shadow:0 0 0 1px #126b5414}.phuket-channel-switcher strong{font-size:16px}.phuket-channel-switcher span{color:var(--phuket-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.phuket-orders-workspace{border:1px solid var(--phuket-line);background:#fff;border-radius:18px;overflow:visible}.phuket-orders-toolbar{border-bottom:1px solid var(--phuket-line);justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:12px 16px;display:flex}.phuket-orders-toolbar>div:first-child{gap:2px;display:grid}.phuket-orders-toolbar>div:first-child span{color:var(--phuket-muted);font-size:13px}.phuket-orders-tools{gap:8px;display:flex}.phuket-orders-tools button{color:#405048;border:1px solid var(--phuket-line);cursor:pointer;background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:7px 10px;display:inline-flex}.phuket-orders-tools button.active{color:var(--phuket-accent);background:#eef8f3;border-color:#b7d6c9}.phuket-order-search-bar{border-bottom:1px solid var(--phuket-line);align-items:center;gap:10px;padding:12px 16px;display:flex}.phuket-order-search-field{background:var(--phuket-soft);border:1px solid var(--phuket-line);border-radius:10px;flex:1;align-items:center;gap:9px;min-width:0;min-height:44px;padding:0 12px;display:flex}.phuket-order-search-field>svg{color:var(--phuket-muted);flex:none}.phuket-order-search-field:focus-within{border-color:var(--phuket-accent);box-shadow:0 0 0 3px #126b541a}.phuket-order-search-field input{width:100%;min-width:0;min-height:42px;color:var(--phuket-ink);font:inherit;background:0 0;border:0;border-radius:0;outline:0;padding:8px 0}.phuket-order-search-field input::placeholder{color:var(--phuket-muted)}.phuket-order-search-field input::-webkit-search-cancel-button{display:none}.phuket-order-search-clear,.phuket-order-sort-button{color:#405048;min-height:44px;font:inherit;border:1px solid var(--phuket-line);cursor:pointer;background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:9px 12px;display:inline-flex}.phuket-order-search-clear{flex:none}.phuket-order-sort{border-bottom:1px solid var(--phuket-line);flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 16px;display:flex}.phuket-order-sort>span{color:var(--phuket-muted);font-size:13px}.phuket-order-sort-options{flex-wrap:wrap;gap:8px;display:flex}.phuket-order-sort-button{flex-wrap:wrap;font-size:13px}.phuket-order-sort-button>svg{flex:none}.phuket-order-sort-button small{color:var(--phuket-muted);font-size:12px}.phuket-order-sort-button[aria-pressed=true]{color:var(--phuket-accent);background:#eef8f3;border-color:#b7d6c9}.phuket-order-sort-button[aria-pressed=true] small{color:inherit}.phuket-order-search-clear:focus-visible,.phuket-order-sort-button:focus-visible{outline:2px solid var(--phuket-accent);outline-offset:3px}.phuket-ready-all-button{color:#fff;background:var(--phuket-accent);border:1px solid var(--phuket-accent);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:7px 12px;display:inline-flex}.phuket-ready-all-button:disabled{cursor:default;opacity:.62}.phuket-ready-all-button:hover:not(:disabled){background:#0d5b46}.phuket-stage-tabs{border-bottom:1px solid var(--phuket-line);gap:2px;padding:0 14px;display:flex;overflow-x:auto}.phuket-stage-tabs button{min-height:48px;color:var(--phuket-muted);white-space:nowrap;cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:0 11px;font-weight:650;display:inline-flex;position:relative}.phuket-stage-tabs button:after{content:"";background:0 0;border-radius:2px 2px 0 0;height:2px;position:absolute;bottom:-1px;left:8px;right:8px}.phuket-stage-tabs button.active{color:var(--phuket-ink)}.phuket-stage-tabs button.active:after{background:var(--phuket-accent)}.phuket-stage-tabs button span{color:#66736c;text-align:center;background:#edf1ee;border-radius:999px;min-width:22px;padding:2px 6px;font-size:11px}.phuket-stage-tabs button.needs-attention span{color:#963f3f;background:#f9dddd}.phuket-stage-actions{border-bottom:1px solid var(--phuket-line);background:#f7faf8;justify-content:flex-end;align-items:center;gap:12px;padding:10px 16px;display:flex}.phuket-stage-actions>span{color:var(--phuket-muted);font-size:12px}.phuket-order-list{padding:6px 14px 14px;display:grid}.phuket-order-row{border-bottom:1px solid #edf1ef;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:94px;display:grid;position:relative}.phuket-order-row:last-child{border-bottom:0}.phuket-order-row.has-discrepancy{background:#fff8ed;border:1px solid #edd5ae;border-radius:12px;margin:5px 0;padding:0 10px}.phuket-order-row.has-discrepancy.discrepancy-receipt{background:#f2f7ff;border-color:#c9dbef}.phuket-order-row.has-discrepancy.discrepancy-return{background:#fff6ed;border-color:#ebcfaa}.phuket-order-row.is-archived{opacity:.66}.phuket-order-row-main{min-width:0;color:inherit;text-align:left;background:0 0;border:0;border-radius:10px;grid-template-columns:minmax(155px,.9fr) minmax(130px,.65fr) minmax(230px,1.7fr) minmax(145px,.7fr);align-items:start;gap:16px;padding:15px 6px;display:grid}.phuket-order-reader,.phuket-order-created,.phuket-order-date{gap:4px;display:grid}.phuket-order-reader>button{color:var(--phuket-accent);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:0;font-size:14px;font-weight:700;overflow:hidden}.phuket-order-reader small,.phuket-order-created small,.phuket-order-date small{color:var(--phuket-muted);font-size:12px}.phuket-order-created strong{font-size:12px;font-weight:650;line-height:1.4}.phuket-order-books{gap:4px;min-width:0;display:grid}.phuket-order-book-item{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;display:grid}.phuket-order-book-open{min-width:0;color:var(--phuket-ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;gap:1px;padding:2px 4px;display:grid}.phuket-order-book-open.has-book-label{grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px}.phuket-order-book-open.has-book-warning{background:#fffaf0;border:1px solid #ead37d;padding:9px 10px}.phuket-order-book-open.has-book-warning:hover{background:#fff4cf}.phuket-order-book-copy{gap:1px;min-width:0;display:grid}.phuket-order-book-label{grid-column:2;align-self:center}.phuket-order-book-open:hover,.phuket-order-reader>button:hover,.phuket-order-date:hover{background:var(--phuket-soft)}.phuket-order-book-item-action{justify-content:flex-end;display:flex}.phuket-order-book-inline-action{white-space:nowrap;min-height:34px;padding:6px 10px}.phuket-order-books strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.3;overflow:hidden}.phuket-order-books small{color:var(--phuket-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.phuket-order-books .phuket-order-book-warning{color:#705313;white-space:normal;background:#fff6cf;border:1px solid #e7c660;border-radius:999px;width:fit-content;margin-top:5px;padding:3px 8px;font-size:12px;font-weight:650;line-height:1.35;display:inline-flex}.phuket-order-date{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:3px 5px}.phuket-order-date strong{font-size:13px;line-height:1.35}.phuket-order-warning,.phuket-order-note,.phuket-order-location{color:#8a5411;grid-column:1/-1;align-items:center;gap:6px;font-size:12px;display:flex}.phuket-order-warning>span:last-child{min-width:180px}.phuket-order-warning.pickup-deadline-expiring_soon,.phuket-order-warning.pickup-deadline-overdue{border-radius:8px;width:fit-content;padding:5px 8px;font-weight:550}.phuket-order-warning.pickup-deadline-expiring_soon{color:#705313;background:#fff1b8}.phuket-order-warning.pickup-deadline-overdue{color:#9b2727;background:#f9dddd}.phuket-discrepancy-badge{color:#315d88;background:#deebfa;border-radius:999px;flex:none;align-items:center;min-height:22px;padding:2px 8px;font-size:11px;font-weight:750;line-height:1.2;display:inline-flex}.phuket-discrepancy-badge.return{color:#7a4913;background:#f8e5c9}.phuket-discrepancy-badge.missing{color:#753e48;background:#f8e1e5}.phuket-order-note,.phuket-order-location{color:var(--phuket-muted)}.phuket-order-row-actions{align-items:center;gap:6px;display:flex}.phuket-order-row-actions>button{white-space:nowrap;min-height:36px;padding:7px 12px}.phuket-order-row.has-release-action{align-items:start}.phuket-order-row.has-release-action .phuket-order-row-actions{justify-content:end;padding-top:15px}@media (width<=1600px){.phuket-order-row.has-release-action .phuket-order-row-actions{grid-template-columns:repeat(2,max-content);display:grid}.phuket-order-row.has-release-action .reservation-overflow-menu{justify-self:end}}.has-stable-order-layout .phuket-orders-workspace{container-type:inline-size}.has-stable-order-layout .phuket-order-list{grid-template-columns:minmax(0,1fr) max-content max-content 38px;column-gap:6px}.has-stable-order-layout .phuket-order-list>*{grid-column:1/-1}.has-stable-order-layout .phuket-order-list>.phuket-order-row{grid-template-columns:subgrid;column-gap:6px}.has-stable-order-layout .phuket-order-row.has-discrepancy{padding-inline:0}.has-stable-order-layout .phuket-order-row-main{grid-column:1}.has-stable-order-layout .phuket-order-row .phuket-order-row-actions{grid-column:2/-1;grid-template-columns:subgrid;gap:6px;min-width:0;display:grid}.has-stable-order-layout .phuket-order-row-actions>button:first-child{grid-column:1}.has-stable-order-layout .phuket-order-row-actions>.primary-button{grid-column:2}.has-stable-order-layout .phuket-order-row-actions>.secondary-button:not(:first-child){grid-area:2/1/auto/3}.has-stable-order-layout .phuket-order-row-actions>.reservation-overflow-menu{grid-area:1/3}@container (width<=1080px){.has-stable-order-layout .phuket-order-list{grid-template-columns:minmax(0,1fr)}.has-stable-order-layout .phuket-order-list>.phuket-order-row{grid-template-columns:minmax(0,1fr);gap:0}.has-stable-order-layout .phuket-order-row .phuket-order-row-actions{grid-column:1;grid-template-columns:max-content max-content 38px;justify-content:end;padding:0 6px 15px}}.phuket-orders-empty{color:var(--phuket-muted);text-align:center;justify-items:center;gap:6px;padding:58px 20px;display:grid}.phuket-orders-empty strong{color:var(--phuket-ink);font-size:16px}.phuket-orders-empty span{font-size:13px}.phuket-absences-dialog{gap:14px;display:grid}.phuket-absences-intro{color:#23483b;background:#edf7f2;border-radius:12px;align-items:flex-start;gap:11px;padding:14px;display:flex}.phuket-absences-intro>div,.phuket-absences-rule{gap:5px;display:grid}.phuket-absences-intro p,.phuket-ready-all-dialog p{color:#64716a;margin:0;font-size:13px;line-height:1.5}.phuket-absences-rule{background:#f7f8f7;border:1px solid #e1e7e3;border-radius:12px;padding:13px 14px}.phuket-absences-rule ul{gap:9px;margin:2px 0 0;padding:0;list-style:none;display:grid}.phuket-absences-rule li{color:#64716a;grid-template-columns:76px minmax(0,1fr);gap:10px;font-size:13px;line-height:1.45;display:grid}.phuket-absences-rule li>strong{color:#26352e}.phuket-absences-empty{color:#69766f;text-align:center;background:#fafbfa;border:1px dashed #d9e1dc;border-radius:11px;padding:18px}.phuket-absences-list{gap:8px;display:grid}.phuket-absences-list article{background:#fff;border:1px solid #dfe7e2;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;padding:12px 13px;display:flex}.phuket-absences-list article>div:first-child{gap:3px;display:grid}.phuket-absences-list small{color:#69766f;font-size:12px}.phuket-absence-actions,.phuket-absence-delete-confirm{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.phuket-absence-actions button,.phuket-absence-delete-confirm button{color:#405048;background:#fff;border:1px solid #dfe7e2;border-radius:8px;align-items:center;gap:5px;min-height:32px;padding:5px 8px;display:inline-flex}.phuket-absence-delete-confirm span{color:#8e3333;text-align:right;width:100%;font-size:12px}.phuket-absence-form{background:#f7faf8;border:1px solid #dbe6e0;border-radius:12px;gap:12px;padding:14px;display:grid}.phuket-absence-form>div:first-of-type{grid-template-columns:1fr 1fr;gap:10px;display:grid}.phuket-absence-form label{color:#46554d;gap:6px;font-size:12px;font-weight:650;display:grid}.phuket-absence-form input{color:#1f2b25;min-height:42px;font:inherit;background:#fff;border:1px solid #ccd9d2;border-radius:9px;padding:8px 10px}.phuket-absence-add{justify-self:start}.phuket-absence-toast{z-index:30;color:#174b38;background:#e5f6ed;border:1px solid #afd8c3;border-radius:12px;align-items:center;gap:9px;width:fit-content;max-width:min(560px,100vw - 48px);min-height:48px;margin:0 auto;padding:11px 14px;font-size:13px;font-weight:650;display:flex;position:fixed;bottom:24px;left:24px;right:24px;box-shadow:0 14px 38px #1037283d}.phuket-ready-all-dialog{gap:16px;display:grid}.phuket-shipment-form{gap:16px}.phuket-shipment-intro{color:#23483b;background:#edf7f2;border-radius:12px;align-items:flex-start;gap:11px;padding:14px;display:flex}.phuket-shipment-intro>div,.phuket-shipment-books{gap:4px;display:grid}.phuket-shipment-intro p{color:#607068;margin:0;font-size:13px;line-height:1.45}.phuket-shipment-books{color:#29372f;background:#f7f8f7;border:1px solid #e1e7e3;border-radius:11px;padding:12px 14px;font-size:13px}.phuket-shipment-books small{color:#69766f;margin-bottom:2px;font-weight:650}.phuket-shipment-upload{color:#1e634d;cursor:pointer;background:#f6faf8;border:1px dashed #a9beb3;border-radius:12px;place-items:center;min-height:176px;display:grid;position:relative;overflow:hidden}.phuket-shipment-upload:focus-within,.phuket-shipment-upload:hover{background:#eff8f4;border-color:#4b9277}.phuket-shipment-upload.has-preview{background:#f2f4f2;border-style:solid}.phuket-shipment-upload img{object-fit:contain;width:100%;max-height:300px}.phuket-shipment-upload-empty{text-align:center;justify-items:center;gap:5px;padding:24px;display:grid}.phuket-shipment-upload-empty small{color:#6b766f}.phuket-shipment-upload input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.phuket-ready-all-dialog>div:not(.button-row){grid-template-columns:1fr 1fr;gap:10px;display:grid}.phuket-ready-all-dialog>div:not(.button-row) span{background:#f2f7f4;border-radius:11px;justify-items:center;gap:2px;padding:14px;display:grid}.phuket-ready-all-dialog>div:not(.button-row) strong{font-size:24px}.phuket-ready-all-dialog>div:not(.button-row) small{color:#69766f}.phuket-unmatched-proof{color:#6f4511;background:#fff8ed;border:1px solid #edd5ae;border-radius:12px;grid-template-columns:152px minmax(0,1fr);align-items:start;gap:16px;margin-top:8px;padding:14px;display:grid}.phuket-unmatched-proof.receipt{color:#2c5279;background:#f1f7ff;border-color:#c7dced}.phuket-unmatched-proof.receipt p,.phuket-unmatched-proof.receipt small,.phuket-unmatched-proof.receipt blockquote{color:#506f8d}.phuket-unmatched-proof.receipt blockquote{color:#334f6b;border-left-color:#9ebfdd}.phuket-unmatched-proof.return{color:#6f4511;background:#fff8ed;border-color:#edd5ae}.phuket-unmatched-proof-copy{gap:7px;display:grid}.phuket-unmatched-proof p,.phuket-unmatched-proof small,.phuket-unmatched-proof blockquote{color:#856841;margin:0;font-size:13px;line-height:1.45}.phuket-unmatched-proof blockquote{color:#5d4a31;background:#fff9;border-left:3px solid #ddba82;border-radius:4px 8px 8px 4px;padding:9px 11px}.phuket-unmatched-proof-actions{flex-wrap:wrap;gap:8px;margin-top:3px;display:flex}.phuket-unmatched-proof-actions button{min-height:36px;padding:7px 12px}.phuket-proof-image-link{background:#f5eddf;border:1px solid #e4c994;border-radius:10px;display:block;overflow:hidden}.phuket-unmatched-proof.receipt .phuket-proof-image-link{background:#e8f1fb;border-color:#bdd3e8}.phuket-proof-image-link img{object-fit:contain;background:#fff;width:100%;height:112px;display:block}.phuket-proof-image-placeholder{min-height:90px;color:var(--phuket-muted);text-align:center;background:#f2f4f2;border-radius:10px;place-items:center;padding:10px;font-size:12px;display:grid}.phuket-order-detail-loading{z-index:40;color:#fff;background:#26322d;border-radius:10px;padding:12px 15px;position:fixed;bottom:28px;right:28px;box-shadow:0 10px 30px #16231c2e}.hua-hin-order-detail-skeleton{background:#f8faf9;overflow:hidden}.hua-hin-skeleton-copy{gap:8px;width:min(360px,70vw);display:grid}.hua-hin-skeleton-copy span,.hua-hin-skeleton-copy strong,.hua-hin-skeleton-copy small,.hua-hin-skeleton-body i{background:linear-gradient(90deg,#e7ece9 25%,#f4f7f5 50%,#e7ece9 75%) 0 0/200% 100%;border-radius:8px;animation:1.2s linear infinite hua-hin-skeleton-shimmer;display:block}.hua-hin-skeleton-copy span{width:120px;height:12px}.hua-hin-skeleton-copy strong{width:min(320px,85%);height:28px}.hua-hin-skeleton-copy small{width:min(250px,72%);height:16px}.hua-hin-skeleton-body{color:var(--phuket-muted);gap:12px;padding:26px;display:grid}.hua-hin-skeleton-body i{height:92px}@keyframes hua-hin-skeleton-shimmer{to{background-position:-200% 0}}.phuket-order-detail-backdrop{z-index:60;background:#131c184d;justify-content:flex-end;padding-left:20px;display:flex;position:fixed;inset:0}.phuket-order-detail{background:#fbfcfb;flex-direction:column;width:min(690px,100%);height:100%;scroll-padding-block:118px 92px;display:flex;overflow-y:auto;box-shadow:-16px 0 48px #15221b29}.phuket-order-detail-header{z-index:20;border-bottom:1px solid var(--phuket-line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fbfcfb;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 26px 20px;display:flex;position:sticky;top:0}.phuket-order-detail-header>div{gap:5px;display:grid}.phuket-order-detail-header span{color:var(--phuket-muted);letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:700}.phuket-order-detail-header h2{margin:0;font-size:24px}.phuket-order-part-label{flex-wrap:wrap;align-items:center;gap:6px 9px;margin:2px 0 3px;display:flex}.phuket-order-part-label strong{color:#285f50;background:#e9f4ef;border-radius:999px;padding:4px 8px;font-size:12px}.phuket-order-part-label small{color:var(--phuket-muted);font-size:12px;line-height:1.35}.phuket-order-detail-header button{width:fit-content;color:var(--phuket-accent);text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:650}.phuket-order-detail-header>button{color:#526159;border:1px solid var(--phuket-line);background:#fff;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.phuket-order-detail-warning{color:#714711;background:#fff5e5;border:1px solid #ecd1a6;border-radius:12px;gap:10px;margin:18px 26px 0;padding:14px;display:flex}.phuket-order-detail-warning>div{gap:3px;display:grid}.phuket-order-detail-warning span{font-size:13px}.phuket-order-detail-warning.discrepancy-receipt{color:#2c5279;background:#f1f7ff;border-color:#c7dced}.phuket-discrepancy-labels{flex-wrap:wrap;gap:6px;margin:2px 0 3px;display:flex}.phuket-order-detail-facts{grid-template-columns:1fr 1fr;gap:10px;padding:18px 26px 0;display:grid}.phuket-order-detail-facts>div{border:1px solid var(--phuket-line);background:#fff;border-radius:12px;align-content:start;gap:4px;min-height:92px;padding:14px;display:grid}.phuket-order-detail-facts small,.phuket-order-detail-facts span{color:var(--phuket-muted);font-size:12px;line-height:1.4}.phuket-order-delivery-details{gap:8px;margin:6px 0 0;display:grid}.phuket-order-delivery-details>div{gap:1px;display:grid}.phuket-order-delivery-details dt{color:var(--phuket-muted);font-size:11px;line-height:1.35}.phuket-order-delivery-details dd{color:var(--phuket-ink);overflow-wrap:anywhere;margin:0;font-size:13px;font-weight:650;line-height:1.4}.phuket-order-delivery-details a{color:var(--phuket-accent)}.phuket-order-detail-section{gap:10px;padding:20px 26px 0;display:grid}.phuket-order-detail-section>header{justify-content:space-between;align-items:baseline;display:flex}.phuket-order-detail-section h3{margin:0;font-size:16px}.phuket-order-detail-section header span{color:var(--phuket-muted);font-size:12px}.phuket-order-detail-books{gap:7px;display:grid}.phuket-order-detail-book{color:var(--phuket-ink);border:1px solid var(--phuket-line);background:#fff;border-radius:11px;grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}.phuket-order-detail-book.has-leading{grid-template-columns:auto minmax(0,1fr) auto}.phuket-order-detail-book-leading{padding-left:10px}.phuket-order-detail-book:hover{border-color:#accabc}.phuket-order-detail-book-link{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:11px;padding:12px 14px;display:grid}.phuket-order-detail-book-link>span{gap:3px;display:grid}.phuket-order-detail-book>.reservation-overflow-menu{margin-right:10px}.phuket-order-detail-book>.reservation-overflow-menu[open]{z-index:12}.hua-hin-order-detail-action{justify-content:flex-end;align-items:center;gap:14px;min-width:0;display:flex}.hua-hin-order-detail-action>span{color:var(--phuket-muted);text-align:right;gap:3px;display:grid}.hua-hin-order-detail-action>span strong{color:var(--phuket-ink)}.phuket-order-detail-books small{color:var(--phuket-muted)}.phuket-order-confirmations{border:1px solid var(--phuket-line);background:#fff;border-radius:11px;display:grid;overflow:hidden}.phuket-order-confirmations>div{border-bottom:1px solid #edf1ef;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 14px;display:grid}.phuket-order-confirmations .phuket-proof-image-link{width:72px}.phuket-order-confirmations .phuket-proof-image-link img{height:88px}.phuket-order-confirmations .phuket-proof-image-placeholder{width:72px;min-height:88px}.phuket-linked-orders{gap:7px;display:grid}.phuket-linked-orders button{color:var(--phuket-ink);text-align:left;border:1px solid var(--phuket-line);cursor:pointer;background:#fff;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.phuket-linked-orders button>span{gap:2px;display:grid}.phuket-linked-orders small{color:var(--phuket-muted)}.phuket-order-confirmations>div:last-child{border-bottom:0}.phuket-order-confirmations span{gap:2px;display:grid}.phuket-order-confirmations small,.phuket-order-confirmations em{color:var(--phuket-muted);font-size:12px;font-style:normal}.phuket-order-confirmations a{color:var(--phuket-accent);font-size:12px;font-weight:700}.phuket-order-history{gap:0;margin:0;padding:4px 0 0;list-style:none;display:grid}.phuket-order-history li{grid-template-columns:14px minmax(0,1fr);gap:10px;min-height:48px;display:grid;position:relative}.phuket-order-history li:before{content:"";background:#d8e1dc;width:1px;position:absolute;top:14px;bottom:-2px;left:6px}.phuket-order-history li:last-child:before{display:none}.phuket-order-history li>span{z-index:1;background:#fff;border:2px solid #78a996;border-radius:50%;width:9px;height:9px;margin-top:5px}.phuket-order-history li>div{gap:3px;display:grid}.phuket-order-history small{color:var(--phuket-muted);font-size:12px}.phuket-order-detail-footer{z-index:20;border-top:1px solid var(--phuket-line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fbfcfb;justify-content:flex-end;align-items:center;gap:10px;margin-top:auto;padding:18px 26px;display:flex;position:sticky;bottom:0}.phuket-order-detail-footer .reservation-overflow-popover{max-height:min(360px,55dvh);top:auto;bottom:calc(100% + 7px);overflow-y:auto}.phuket-discrepancy-resolution-action{justify-content:flex-end;align-items:center;gap:10px;display:flex}.phuket-discrepancy-resolution-action small{max-width:230px;color:var(--phuket-muted);text-align:right;font-size:12px;line-height:1.35}.phuket-order-detail-section:last-of-type{padding-bottom:28px}.phuket-archive-form,.phuket-proof-link-form{min-width:min(520px,78vw)}.phuket-dialog-choice{gap:8px;display:grid}.phuket-dialog-choice>label,.phuket-return-book-choice>label{border:1px solid var(--phuket-line);cursor:pointer;border-radius:10px;align-items:flex-start;gap:10px;padding:11px 12px;display:flex}.phuket-dialog-choice input,.phuket-return-book-choice input{margin-top:3px}.phuket-dialog-choice span,.phuket-return-book-choice span{gap:2px;display:grid}.phuket-dialog-choice small,.phuket-return-book-choice small,.phuket-dialog-hint,.phuket-archive-form .field small{color:var(--phuket-muted);font-size:12px;line-height:1.45}.phuket-dialog-hint{margin:0}.phuket-reader-message-preview{color:#34413a;border:1px solid var(--phuket-line);background:#f3f7f5;border-radius:10px;gap:4px;padding:13px;font-size:13px;line-height:1.45;display:grid}.phuket-return-book-choice{border:0;gap:7px;margin:0;padding:0;display:grid}.phuket-return-book-choice legend{margin-bottom:7px;font-weight:700}.phuket-channel-switcher button:focus-visible,.phuket-orders-tools button:focus-visible,.phuket-stage-tabs button:focus-visible,.phuket-order-row-main:focus-visible,.phuket-order-detail button:focus-visible{outline-offset:2px;outline:3px solid #126b5438}.reservation-topbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.reservation-branch-filter{background:#e9eeeb;border-radius:12px;flex-wrap:wrap;gap:4px;padding:4px;display:inline-flex}.reservation-branch-filter button{color:#505b54;background:0 0;border:0;border-radius:9px;min-height:38px;padding:0 16px;font-size:14px;font-weight:650}.reservation-branch-filter button:hover{background:#ffffffad}.reservation-branch-filter button.active{color:#193e32;background:#fff;box-shadow:0 2px 8px #1f242014}.reservation-refresh-button{border:1px solid var(--reservation-border);color:#46534b;background:#fff;border-radius:12px;flex:none;place-items:center;width:42px;height:42px;display:inline-grid}.reservation-refresh-button:hover{background:#f7faf8;border-color:#b9ccc2}.is-spinning{animation:.9s linear infinite reservation-spin}@keyframes reservation-spin{to{transform:rotate(360deg)}}.reservation-tabs{border-bottom:1px solid var(--reservation-border);align-items:center;gap:6px;display:flex}.reservation-tabs button{color:#6a746e;background:0 0;border:0;align-items:center;gap:8px;min-height:46px;padding:0 12px;font-weight:650;display:inline-flex;position:relative}.reservation-tabs button:after{content:"";background:0 0;border-radius:999px 999px 0 0;height:3px;position:absolute;bottom:-1px;left:10px;right:10px}.reservation-tabs button.active{color:#1f3028}.reservation-tabs button.active:after{background:var(--reservation-accent)}.reservation-tabs button span{color:#657069;background:#e9eeeb;border-radius:999px;place-items:center;min-width:24px;height:24px;padding:0 7px;font-size:12px;display:inline-grid}.reservation-tabs button.active span{color:#0f5f46;background:#dff1e8}.reservation-tab-panel{min-width:0}.reservation-admin-list{gap:18px;display:grid}.circulation-proof-list{gap:16px;display:grid}.reservation-empty-state{min-height:220px;color:var(--reservation-muted);text-align:center;background:#fbfcfb;border:1px dashed #cfdad4;border-radius:16px;align-content:center;place-items:center;gap:7px;padding:28px;display:grid}.reservation-empty-state svg{color:#7a9a8b;margin-bottom:4px}.reservation-empty-state strong{color:#29372f;font-size:17px}.circulation-proof-card{border:1px solid var(--reservation-border);background:#fff;border-radius:16px;grid-template-columns:160px minmax(0,1fr);gap:18px;padding:16px;display:grid;box-shadow:0 10px 28px #1f30270d}.circulation-proof-photo{aspect-ratio:4/3;background:#f0f2ef;border-radius:12px;display:block;overflow:hidden}.circulation-proof-photo img{object-fit:cover;width:100%;height:100%}.circulation-proof-copy{align-content:start;gap:12px;min-width:0;display:grid}.circulation-proof-copy p{overflow-wrap:anywhere;margin:0}.circulation-proof-title{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.circulation-proof-title>div{gap:5px;display:grid}.circulation-proof-title h3{color:#233129;margin:0;font-size:18px}.circulation-proof-title p,.circulation-proof-note{color:var(--reservation-muted);font-size:13px}.circulation-proof-context{color:#59655e;grid-template-columns:auto minmax(0,max-content) auto minmax(0,1fr);align-items:center;gap:6px 8px;font-size:13px;display:grid}.circulation-proof-context svg{color:#7a8f84}.circulation-proof-items{color:#3f4741;gap:7px;font-size:14px;display:grid}.circulation-proof-items button{width:fit-content;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:0;display:flex}.circulation-proof-items button:hover{color:#17654a;text-decoration:underline}.circulation-proof-items svg{color:#21815f;flex:none}.circulation-proof-actions{flex-wrap:wrap;gap:8px;margin-top:2px;display:flex}.reservation-admin-card{border:1px solid var(--reservation-border);background:#fff;border-left:4px solid #d5b553;border-radius:18px;gap:18px;padding:20px;display:grid;box-shadow:0 14px 38px #1f30270f}.reservation-admin-card.reservation-card-ready{border-left-color:#2a8a68}.reservation-admin-card.reservation-card-mixed{border-left-color:#6f8fa8}.reservation-admin-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.reservation-admin-heading{gap:5px;min-width:0;display:grid}.reservation-admin-kicker{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.reservation-admin-kicker>span:first-child{color:var(--reservation-muted);font-size:13px;font-weight:650}.reservation-order-status{border-radius:999px;align-items:center;min-height:26px;padding:0 10px;font-size:12px;font-weight:750;display:inline-flex}.reservation-order-status.todo{color:#76560a;background:#fff2c7}.reservation-order-status.mixed{color:#31556f;background:#e6f0f7}.reservation-order-status.ready{color:#0f6449;background:#dff3e8}.reservation-admin-head h2{color:#1f2420;letter-spacing:-.01em;margin:0;font-size:22px}.reservation-admin-head p{color:#59655e;margin:0;font-size:14px}.reservation-order-facts{grid-template-columns:minmax(180px,.9fr) minmax(260px,1.45fr) minmax(180px,1fr);gap:10px;margin:0;display:grid}.reservation-order-fact{background:#f5f8f6;border-radius:12px;align-items:flex-start;gap:10px;min-width:0;padding:12px;display:flex}.reservation-order-fact>svg{color:#71877c;flex:none;margin-top:1px}.reservation-order-fact>span{gap:3px;min-width:0;display:grid}.reservation-order-fact small{color:var(--reservation-muted);font-size:12px}.reservation-order-fact strong{color:#243129;overflow-wrap:anywhere;font-size:14px;font-weight:650;line-height:1.35}.reservation-order-address{grid-column:1/-1}.reservation-admin-items{background:#fafcfb;border:1px solid #e5ebe7;border-radius:14px;overflow:visible}.reservation-items-heading{border-bottom:1px solid #e5ebe7;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.reservation-items-heading strong{font-size:14px}.reservation-items-heading span{color:var(--reservation-muted);font-size:13px}.reservation-admin-items ul{margin:0;padding:0;list-style:none;display:grid}.reservation-admin-item{border-bottom:1px solid #e8edea;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:13px 14px;display:grid;position:relative}.reservation-admin-item:last-child{border-bottom:0}.reservation-book-check{color:#b6983b;place-items:center;display:inline-grid}.reservation-book-check.reservation-prepared{color:#21815f}.reservation-book-copy{gap:2px;min-width:0;display:grid}.reservation-book-copy strong{color:#202d25;overflow-wrap:anywhere;font-size:15px}.reservation-book-copy>span{color:#5f6a64;font-size:13px}.reservation-book-copy small{color:#879089;margin-top:2px;font-size:11px}.reservation-admin-footer{justify-content:space-between;align-items:center;gap:18px;padding-top:2px;display:flex}.reservation-admin-footer>span{max-width:540px;color:var(--reservation-muted);font-size:12px;line-height:1.4}.reservation-primary-action{border-radius:10px;min-width:190px;padding:0 18px}.reservation-overflow-menu{flex:none;position:relative}.reservation-overflow-menu summary{color:#5a665f;cursor:pointer;background:#fff;border:1px solid #dbe4df;border-radius:10px;place-items:center;width:38px;height:38px;list-style:none;display:grid}.reservation-overflow-menu summary::-webkit-details-marker{display:none}.reservation-overflow-menu summary:hover,.reservation-overflow-menu summary:focus-visible,.reservation-overflow-menu[open] summary{color:#214d3d;background:#f1f7f4;border-color:#b9ccc2;outline:0}.reservation-overflow-popover{z-index:8;background:#fff;border:1px solid #d8e1dc;border-radius:12px;width:max-content;min-width:210px;display:grid;position:absolute;top:calc(100% + 7px);right:0;overflow:hidden;box-shadow:0 18px 44px #1f302729}.reservation-overflow-popover button{color:#29362f;text-align:left;background:#fff;border:0;border-bottom:1px solid #edf1ef;align-items:center;gap:9px;min-height:42px;padding:0 13px;display:flex}.reservation-overflow-popover button:last-child{border-bottom:0}.reservation-overflow-popover button:hover,.reservation-overflow-popover button:focus-visible{background:#f4f8f6;outline:0}.reservation-overflow-popover button.danger-menu-item{color:#9d3434}.reservation-branch-filter button:focus-visible,.reservation-tabs button:focus-visible,.reservation-refresh-button:focus-visible,.reservation-primary-action:focus-visible{outline-offset:2px;outline:3px solid #146b5538}.status-pill{border-radius:999px;align-items:center;width:fit-content;min-height:24px;padding:0 8px;font-size:12px;font-weight:700;display:inline-flex}.status-pill.reservation-active{color:#755104;background:#fff3c4}.status-pill.reservation-prepared{color:#0f5f46;background:#dff3e8}.status-pill.reservation-fulfilled{color:#145c72;background:#e1f1f6}.status-pill.reservation-cancelled,.status-pill.reservation-expired{color:#687069;background:#ecefec}.status-pill.proof-needs_review{color:#7a430d;background:#fff0d8}.status-pill.proof-matched{color:#14553f;background:#e9f6ef}.table-link,.title-button{color:#145c72;min-height:32px;font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:650}.catalog-title-cell{gap:2px;display:grid}.catalog-title-cell small{color:#687069;font-size:12px}.feedback-preview-button{max-width:560px;line-height:1.4}.feedback-detail-summary{gap:14px}.feedback-author-link{color:#145c72;text-align:left;background:#fff;border:1px solid #d9ded8;border-radius:6px;align-items:center;gap:8px;width:fit-content;padding:8px 12px;font-weight:650;display:inline-flex}.feedback-full-text{color:#202722;overflow-wrap:anywhere;white-space:pre-wrap;max-width:840px;margin:0;padding:20px 24px 22px;font-size:16px;line-height:1.65}.mono-cell{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}.table-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.compact-button{min-height:36px;padding:0 10px;font-size:13px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.span-2{grid-column:span 2}.cover-upload{grid-template-columns:112px minmax(0,1fr);align-items:center;gap:14px;display:grid}.cover-upload-preview{aspect-ratio:3/4;color:#687069;background:#f5f7f5;border:1px solid #d7ded8;border-radius:6px;place-items:center;width:112px;display:grid;overflow:hidden}.cover-upload-preview img{object-fit:cover;width:100%;height:100%}.copy-overview-layout{grid-template-columns:180px minmax(0,1fr);align-items:start;gap:26px;padding:22px;display:grid}.book-edition-switcher{gap:14px;padding:20px 22px 0;display:grid}.book-edition-switcher-heading{justify-content:space-between;align-items:end;gap:16px;display:flex}.book-edition-switcher-heading .eyebrow{color:#287259;margin-bottom:3px}.book-edition-switcher-heading strong{color:#202722;font-size:18px}.book-edition-switcher-heading>span{color:#687069;font-size:13px}.book-edition-tabs{border-bottom:1px solid #e4e8e3;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;padding-bottom:20px;display:grid}.book-edition-tab{color:#202722;text-align:left;cursor:pointer;background:#f8faf8;border:1px solid #dfe4df;border-radius:12px;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:12px;min-width:0;padding:10px;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;display:grid}.book-edition-tab:hover{background:#f4f9f6;border-color:#aecabd}.book-edition-tab:focus-visible{outline-offset:2px;outline:3px solid #2f765733}.book-edition-tab.active{background:#eef7f2;border-color:#2f7657;transform:translateY(-1px);box-shadow:0 0 0 1px #2f765717,0 8px 20px #27523e14}.book-edition-tab-cover{aspect-ratio:3/4;color:#7d8880;background:#e9eeea;border:1px solid #d9e0da;border-radius:7px;place-items:center;width:68px;display:grid;overflow:hidden}.book-edition-tab-cover img{object-fit:cover;width:100%;height:100%}.book-edition-tab-copy{align-content:center;gap:4px;min-width:0;display:grid}.book-edition-tab-copy>strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.35;overflow:hidden}.book-edition-tab-copy>span:not(.book-edition-tab-label){color:#687069;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.35;overflow:hidden}.book-edition-tab-label{color:#287259;letter-spacing:.06em;text-transform:uppercase;align-items:center;gap:7px;min-width:0;font-size:11px;font-weight:750;display:flex}.book-edition-tab-label small,.book-edition-primary-badge{color:#35644f;letter-spacing:0;text-transform:none;background:#dceee4;border-radius:999px;align-items:center;min-height:21px;padding:0 7px;font-size:10px;font-weight:700;display:inline-flex}.book-edition-panel{min-width:0}.book-edition-panel-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-bottom:14px;display:flex}.merge-book-modal{grid-template-rows:auto minmax(0,1fr);width:min(100%,640px);height:min(620px,92dvh);max-height:92dvh;overflow:hidden}.merge-book-form{grid-template-rows:minmax(0,1fr) auto;min-height:0}.merge-book-body,.merge-book-search-step,.merge-book-match-step{min-height:0}.merge-book-body{display:grid;overflow:hidden}.merge-book-search-step{grid-template-rows:auto minmax(0,1fr);gap:14px;display:grid}.merge-book-search-control{color:#687069;background:#fff;border:1px solid #aeb9b1;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;min-height:48px;padding:0 13px;display:grid}.merge-book-search-control:focus-within{border-color:#176c8f;box-shadow:0 0 0 2px #176c8f26}.merge-book-search-control input{border:0;outline:0;min-height:46px;padding:9px 10px}.merge-book-results-frame{overscroll-behavior:contain;scrollbar-gutter:stable;background:#f8faf8;border:1px solid #dfe5df;border-radius:10px;min-height:0;overflow-y:auto}.merge-book-search-state{color:#687069;text-align:center;place-content:center;justify-items:center;gap:10px;min-height:100%;padding:24px;display:grid}.merge-book-search-spinner{border:2px solid #d5dfd8;border-top-color:#176c8f;border-radius:50%;width:24px;height:24px;animation:.7s linear infinite merge-book-search-spin}@keyframes merge-book-search-spin{to{transform:rotate(360deg)}}.merge-book-results,.merge-book-target,.merge-book-match-step{gap:10px;display:grid}.merge-book-results{padding:8px}.merge-book-result{color:#202722;text-align:left;background:#fff;border:1px solid #d4ddd6;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:70px;padding:11px 13px;display:grid}.merge-book-result:hover,.merge-book-result:focus-visible{background:#f0f8f4;border-color:#75a995}.merge-book-result-copy{gap:4px;min-width:0;display:grid}.merge-book-result-copy strong{overflow-wrap:anywhere}.merge-book-result span,.merge-book-target span,.merge-book-target small{color:#687069}.merge-book-match-step{overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px;overflow-y:auto}.merge-book-target{background:#f8faf8;border:1px solid #dfe5df;border-radius:8px;padding:14px}.merge-book-actions{background:#fff;border-top:1px solid #e3e8e4;padding-top:14px}@media (prefers-reduced-motion:reduce){.route-progress:after{animation-duration:1.8s}}.catalog-copy-back-photo{cursor:pointer}.native-file-picker{cursor:pointer;position:relative}.native-file-picker-input,.catalog-copy-back-photo .native-file-picker-input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.native-file-picker:focus-within{outline-offset:2px;outline:3px solid #176c8f40}.native-file-picker[aria-disabled=true]{cursor:not-allowed;opacity:.58}.native-file-picker[aria-disabled=true] .native-file-picker-input{cursor:not-allowed}.copy-overview-cover{aspect-ratio:3/4;background:#f3f6f3;border:1px solid #d7ded8;border-radius:10px;width:100%;display:grid;overflow:hidden;box-shadow:0 10px 24px #1f242014}.copy-overview-cover img{object-fit:cover;width:100%;height:100%}.copy-overview-cover-empty{color:#7a847d;text-align:center;place-content:center;justify-items:center;gap:10px;padding:16px;display:grid}.copy-overview-cover-empty span{font-size:12px;line-height:1.4}.copy-overview-list{min-width:0;margin:0}.copy-overview-row{border-bottom:1px solid #edf0ed;grid-template-columns:minmax(120px,160px) minmax(0,1fr);gap:18px;padding:13px 0;display:grid}.copy-overview-row:first-child{padding-top:2px}.copy-overview-row:last-child{border-bottom:0;padding-bottom:2px}.copy-overview-row dt{color:#687069;font-size:13px;line-height:1.5}.copy-overview-row dd{color:#202722;overflow-wrap:anywhere;min-width:0;margin:0;line-height:1.5}.copy-overview-row.multiline dd{white-space:pre-wrap}.catalog-relationship-link{color:#0e6677;max-width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:0;font-weight:650;display:inline-flex}.catalog-relationship-link:hover,.catalog-relationship-link:focus-visible{color:#084957;text-underline-offset:3px;text-decoration:underline}.catalog-relationship-link svg{flex:none}.catalog-relationship-meta{color:#687069;flex-wrap:wrap;gap:8px 20px;margin:-4px 0 18px;font-size:14px;display:flex}.copy-overview-tags{flex-wrap:wrap;gap:6px;display:flex}.copy-overview-tags>span{color:#355247;background:#eef5f1;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:600}.copy-overview-code{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:13px}.book-copy-list{gap:14px;display:grid}.book-copy-list-legacy{padding:16px}.book-copy-edition-groups{background:#f7f9f7;gap:18px;padding:16px;display:grid}.book-copy-edition-group{background:#fff;border:1px solid #dce2dd;border-radius:14px;transition:border-color .16s,box-shadow .16s;overflow:hidden}.book-copy-edition-group.selected{border-color:#8fbaa7;box-shadow:0 0 0 2px #2f765717}.book-copy-edition-heading{background:#fbfcfb;border-bottom:1px solid #e6eae6;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 16px;display:grid}.book-copy-edition-group.selected .book-copy-edition-heading{background:#f1f8f4}.book-copy-edition-cover{aspect-ratio:3/4;color:#7d8880;background:#e9eeea;border:1px solid #d9e0da;border-radius:7px;place-items:center;width:72px;display:grid;overflow:hidden}.book-copy-edition-cover img{object-fit:cover;width:100%;height:100%}.book-copy-edition-title{gap:5px;min-width:0;display:grid}.book-copy-edition-title>div:first-child{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.book-copy-edition-title .eyebrow{color:#287259;margin:0}.book-copy-edition-title h4{color:#202722;margin:0;font-size:17px;line-height:1.35}.book-copy-edition-meta{color:#687069;flex-wrap:wrap;gap:4px 14px;font-size:12px;line-height:1.4;display:flex}.book-copy-edition-count{color:#285744;background:#eaf4ee;border-radius:10px;justify-items:center;gap:1px;min-width:82px;padding:10px 12px;display:grid}.book-copy-edition-count strong{font-size:22px;line-height:1}.book-copy-edition-count span{font-size:11px}.book-copy-edition-group>.book-copy-list{padding:14px}.book-copy-edition-group .book-copy-card{background:#fff;border-radius:10px}.book-copy-edition-empty{color:#737b75;text-align:center;padding:22px 16px}.book-copy-card{border:1px solid #dfe4df;border-radius:16px;padding:16px;transition:border-color .16s,box-shadow .16s}.book-copy-card.focused{border-color:#2f7657;box-shadow:0 0 0 3px #2f765729}.book-copy-card-heading,.book-copy-card-heading>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.book-copy-card-heading>span{color:#737b75;font-size:13px}.book-copy-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0;display:grid}.book-copy-meta div{min-width:0}.book-copy-meta dt{color:#737b75;margin-bottom:3px;font-size:12px}.book-copy-meta dd{overflow-wrap:anywhere;margin:0}.qr-copy-picker,.ai-item-actions{gap:10px;display:grid}.qr-copy-picker .secondary-button{justify-content:flex-start;width:100%}.field-warning{color:#9a5b00;margin-top:4px;font-size:13px;display:block}@media (width<=760px){.book-edition-tabs{scroll-snap-type:x proximity;scrollbar-width:thin;display:flex;overflow-x:auto}.book-edition-tab{scroll-snap-align:start;flex:0 0 min(310px,100vw - 64px)}.book-copy-edition-heading{grid-template-columns:64px minmax(0,1fr) auto;gap:12px;padding:12px}.book-copy-edition-cover{width:64px}.book-copy-meta{grid-template-columns:1fr}.book-copy-card-heading{flex-direction:column;align-items:flex-start}}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;display:grid}.result-grid div{border-bottom:1px solid #eef1ee;padding:14px 16px}.result-grid dt{color:#687069;font-size:12px}.result-grid dd{overflow-wrap:anywhere;margin:5px 0 0}.user-result-grid{grid-template-columns:minmax(0,1fr)}.profile-copy-value{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.profile-copy-value>span{overflow-wrap:anywhere;min-width:0}.profile-copy-button{color:#515b54;background:#f6f7f5;border:1px solid #dfe4df;border-radius:6px;flex:none;align-items:center;gap:6px;min-height:32px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.profile-copy-button:hover{color:#0f5f46;background:#edf7f2;border-color:#bfd7cc}.profile-copy-button.copied{color:#0f5f46;background:#e7f6ee;border-color:#b9dfcc}.profile-social-links{gap:10px;display:grid}.profile-history-snapshot{gap:6px;min-width:0;margin:0;display:grid}.profile-history-snapshot div{gap:2px;display:grid}.profile-history-snapshot dt{color:#687069;font-size:12px}.profile-history-snapshot dd{overflow-wrap:anywhere;margin:0}.empty-state{color:#687069;padding:22px 16px}.tag-picker,.tag-picker-box{position:relative}.tag-picker-box input{width:100%}.tag-picker-box.disabled{opacity:.68}.tag-menu{z-index:5;background:#fff;border:1px solid #c8d0c9;border-radius:8px;max-height:240px;display:grid;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow-y:auto;box-shadow:0 14px 32px #1f24201f}.tag-menu button,.tag-menu-empty{color:#202722;text-align:left;background:#fff;border:0;border-bottom:1px solid #eef1ee;min-height:38px;padding:9px 11px}.tag-menu button:hover{background:#f3f7f4}.tag-menu-create{font-weight:700}.tag-menu-empty{color:#687069}.selected-tags{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.catalog-borrower-picker>label{align-items:center;gap:8px;display:flex}.catalog-borrower-picker small{color:#687069;font-size:12px;font-weight:400;line-height:1.45}.catalog-borrower-input input{padding-right:40px}.catalog-borrower-input input::-webkit-search-cancel-button{-webkit-appearance:none}.catalog-borrower-clear.icon-button{background:0 0;border:0;width:28px;min-height:28px;padding:0;position:absolute;top:50%;right:7px;transform:translateY(-50%)}.catalog-borrower-picker [aria-selected=true]{background:#edf7f2}.tag-chip{color:#0f5f46;background:#edf7f2;border:1px solid #cfe2d7;border-radius:999px;align-items:center;gap:6px;min-height:30px;padding:0 9px;display:inline-flex}.success-panel{background:#fff;border:1px solid #d5e7df;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px;display:grid}.success-panel svg{color:#147a4d}.success-panel h3,.success-panel p{margin:0}.success-panel p{color:#687069;margin-top:5px}.pending-list{display:grid}.pending-row{border-bottom:1px solid #eef1ee;grid-template-columns:minmax(0,1fr) minmax(210px,280px) auto;align-items:center;gap:14px;padding:13px 16px;display:grid}.pending-row>.button-row{align-self:end}.pending-language-field{gap:7px;min-width:0;display:grid}.pending-language-select{width:100%;min-width:0;display:block;position:relative}.pending-language-field .pending-language-select select{background:#fff;border-color:#c8d0c9;border-radius:10px;width:100%;min-width:0;min-height:44px;padding:9px 52px 9px 12px;font-size:15px;font-weight:650}.pending-language-field .pending-language-select select:focus{border-color:#73ad97;outline:none;box-shadow:0 0 0 3px #126b541c}.donation-admin-row{align-items:start}.donation-admin-main{gap:3px;min-width:0;display:grid}.donation-admin-main strong,.donation-admin-main span,.donation-admin-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.donation-admin-main span,.donation-admin-main small{color:#687069}.donation-admin-main small{font-size:13px}.title-button{gap:3px;display:grid}.title-button span{color:#687069;font-size:13px;font-weight:400}.modal-backdrop{z-index:100;padding:max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));background:#1116125c;place-items:center;display:grid;position:fixed;inset:0}.modal-panel{background:#fff;border-radius:8px;gap:16px;width:min(100%,560px);max-height:min(92dvh,760px);padding:18px;display:grid;overflow-y:auto;box-shadow:0 24px 56px #1f24202e}.admin-confirm-backdrop{z-index:1400;padding:max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1116127a;place-items:center;display:grid;position:fixed;inset:0}.admin-confirm-dialog{background:#fff;border:1px solid #dfe5df;border-radius:12px;gap:22px;width:min(100%,480px);padding:24px;display:grid;box-shadow:0 24px 64px #1f242038}.admin-confirm-copy{gap:8px;display:grid}.admin-confirm-copy h2,.admin-confirm-copy p{margin:0}.admin-confirm-copy h2{color:#202722;font-size:21px;line-height:1.25}.admin-confirm-copy p{color:#606962;font-size:15px;line-height:1.5}.admin-confirm-actions{justify-content:flex-end;gap:10px;display:flex}.modal-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.modal-header h3{margin:0;font-size:18px}.modal-form{gap:14px;display:grid}.copy-additional-fields{background:#f8faf8;border:1px solid #dce4df;border-radius:12px}.copy-additional-fields summary{color:#176950;cursor:pointer;padding:12px 14px;font-weight:750}.copy-additional-fields-grid{gap:14px;padding:0 14px 14px;display:grid}.field-hint{margin:-4px 0 0;font-size:13px;line-height:1.45}.warning-copy{color:#8a4b16}.loan-return-dialog{width:min(540px,100vw - 32px)}.loan-return-book{color:#687069;gap:4px;margin:0 0 16px;display:grid}.loan-return-options{border:0;gap:10px;margin:0;padding:0;display:grid}.loan-return-options label{cursor:pointer;border:1px solid #e1e6e1;border-radius:10px;align-items:flex-start;gap:10px;padding:12px;display:flex}.loan-return-options input{margin-top:3px}.loan-return-options span{gap:5px;display:grid}.loan-return-options small{color:#687069;line-height:1.45}.loan-return-options[disabled] label{cursor:default;opacity:.65}.edition-form-actions{border-top:1px solid #e1e6e1;align-items:center;margin-top:2px;padding-top:16px}.donation-modal-book{background:#f7f9f7;border:1px solid #e1e6e1;border-radius:8px;gap:3px;padding:12px 14px;display:grid}.donation-modal-book span,.donation-reject-note{color:#687069;font-size:13px}.donation-create-options{gap:10px;display:grid}.donation-create-option{color:#202722;text-align:left;background:#fff;border:1px solid #d7ded8;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;min-height:68px;padding:12px 14px;display:grid}.donation-create-option:hover,.donation-create-option:focus-visible{background:#f1f8f5;border-color:#8fbbaa}.donation-create-option>span{gap:3px;display:grid}.donation-create-option small{color:#687069;font-size:12px}.donation-create-photo-option{background:#fff;border:1px solid #d7ded8;border-radius:8px;display:grid;overflow:hidden}.donation-create-photo-option .donation-create-option{border:0;border-radius:0}.donation-create-photo-option .book-photo-capture-notice{border:0;border-top:1px solid #d6e8ee;border-radius:0;padding:10px 14px}.donation-create-photo-option:focus-within{border-color:#8fbbaa}.donation-reject-note{margin:-4px 0 0}.admin-access-modal{width:min(680px,100vw - 32px)}.admin-access-fieldset{border:1px solid #dfe5df;border-radius:8px;gap:10px;margin:0;padding:14px;display:grid}.admin-access-fieldset legend{color:#364139;padding:0 6px;font-size:14px;font-weight:700}.admin-access-options{gap:8px;display:grid}.admin-access-options label,.admin-branch-options label{cursor:pointer;border:1px solid #d9ded8;border-radius:6px;align-items:center;gap:10px;min-height:42px;padding:8px 10px;display:flex}.admin-access-options label>span{gap:2px;display:grid}.admin-access-options small{color:var(--muted);font-size:12px;font-weight:400}.admin-access-options label.disabled{color:var(--muted);cursor:not-allowed;background:#f5f6f4}.admin-select-all{color:#39413b;background:#fff;border:1px solid #c8d0c9;border-radius:6px;justify-self:start;align-items:center;gap:7px;min-height:36px;padding:0 11px;font-size:13px;font-weight:600;display:inline-flex}.admin-select-all:hover:not(:disabled),.admin-select-all:focus-visible{color:#0f5f46;background:#edf7f2;border-color:#bfd7cc}.admin-select-all.active{color:#0f5f46;background:#e7f6ee;border-color:#b9dfcc}.nested-options{padding-left:28px}.admin-account-summary{gap:3px;display:grid}.admin-account-summary span{color:var(--muted);font-size:13px}.admin-branch-fieldset{border:0;margin:0;padding:0}.admin-branch-fieldset legend{color:var(--muted);margin-bottom:8px;font-size:13px;font-weight:700}.admin-branch-options{gap:8px;display:grid}.admin-branch-options label{background:#fff}.workspace-notice{flex-wrap:wrap;align-items:center;gap:10px;padding:18px 18px 0;display:flex}.single-branch-value{color:#344038;background:#f4f6f4;border:1px solid #dce2dc;border-radius:6px;align-items:center;min-height:42px;padding:8px 10px;display:flex}.qr-preview{justify-items:center;gap:12px;display:grid}.qr-preview img{border:1px solid #e4e8e3;border-radius:8px;width:min(100%,360px)}.action-menu{position:relative}.action-menu-popover{z-index:5;background:#fff;border:1px solid #d9ded8;border-radius:8px;min-width:220px;display:grid;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 18px 42px #1f24201f}.action-menu-popover button{color:#2f3531;text-align:left;background:#fff;border:0;border-bottom:1px solid #eef1ee;justify-content:flex-start;align-items:center;gap:9px;min-height:42px;padding:0 13px;display:flex}.action-menu-popover button:last-child{border-bottom:0}.action-menu-popover button:hover,.action-menu-popover button:focus-visible{background:#f5f8f6}.copy-card-actions{align-items:center;gap:8px;display:flex}.copy-actions-menu{position:relative}.copy-actions-menu summary{color:#515b54;cursor:pointer;background:#fff;border:1px solid #c8d0c9;border-radius:6px;place-items:center;width:44px;height:44px;list-style:none;display:grid}.copy-actions-menu summary::-webkit-details-marker{display:none}.copy-actions-menu summary:hover,.copy-actions-menu summary:focus-visible,.copy-actions-menu[open] summary{color:#214d3d;background:#f1f7f4;border-color:#abc2b6;outline:0}.copy-actions-popover{z-index:8;background:#fff;border:1px solid #d9ded8;border-radius:8px;width:max-content;min-width:210px;display:grid;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 18px 42px #1f242024}.copy-actions-popover button{color:#2f3531;text-align:left;background:#fff;border:0;border-bottom:1px solid #eef1ee;justify-content:flex-start;align-items:center;gap:9px;min-height:42px;padding:0 13px;display:flex}.copy-actions-popover button:last-child{border-bottom:0}.copy-actions-popover button:hover:not(:disabled),.copy-actions-popover button:focus-visible:not(:disabled){background:#f5f8f6;outline:0}.copy-actions-popover button.danger-menu-item{color:#9f2f2f}.ai-upload-panel{gap:18px}.ai-capture-panel{gap:18px;width:min(100%,560px);margin-inline:auto}.ai-capture-panel>p,.ai-capture-step>p{color:#687069;margin:0;line-height:1.5}.ai-capture-step{text-align:center;justify-items:stretch;gap:16px;display:grid}.ai-capture-step h2{margin:0;font-size:clamp(22px,5vw,30px)}.ai-capture-counter{color:#687069;font-size:14px;font-weight:650}.ai-capture-button{justify-content:center;min-height:64px;font-size:17px}.ai-capture-preview{aspect-ratio:2/3;object-fit:cover;border:1px solid #d9ded8;border-radius:10px;justify-self:center;width:min(52vw,220px)}.ai-capture-preview-link{border-radius:10px;justify-self:center;display:grid}.ai-capture-preview-link:focus-visible{outline-offset:3px;outline:3px solid #176c8f47}@media (width<=720px){.ai-capture-page .page-header{z-index:4;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;position:sticky;top:0}.ai-capture-panel{align-content:center;gap:10px;min-height:min(520px,100svh - 170px);padding-block:12px}.ai-capture-step{gap:10px}.ai-capture-step h2{font-size:clamp(20px,5.4vw,24px);line-height:1.15}.ai-capture-step>p{font-size:14px;line-height:1.35}.ai-capture-preview{width:min(31vw,132px);max-height:24dvh}.ai-capture-button{min-height:54px}}.ai-dropzone{color:#465049;text-align:center;background:#f8faf8;border:1px dashed #aeb9b1;border-radius:8px;place-items:center;gap:12px;min-height:210px;padding:22px;display:grid}.ai-dropzone svg{color:#176c8f}.ai-photo-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;display:grid}.ai-photo-card{gap:7px;min-width:0;display:grid;position:relative}.ai-photo-card img{aspect-ratio:2/3;object-fit:cover;background:#eef1ee;border:1px solid #d9ded8;border-radius:8px;width:100%}.ai-photo-card .icon-button{background:#ffffffeb;width:32px;min-height:32px;position:absolute;top:6px;right:6px}.ai-photo-card span{color:#687069;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.ai-batch-panel{gap:16px}.ai-batch-summary{gap:12px;display:grid}.ai-batch-summary h3{margin:8px 0 4px;font-size:20px}.ai-batch-summary p{color:#687069;margin:0}.ai-progress{background:#edf1ee;border-radius:999px;height:10px;overflow:hidden}.ai-progress span{border-radius:inherit;background:#147a4d;height:100%;transition:width .18s;display:block}.ai-item-list{border:1px solid #e4e8e3;border-radius:8px;display:grid;overflow:hidden}.ai-item-row{border-bottom:1px solid #eef1ee;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.ai-item-photo-strip{align-self:start;gap:6px;display:flex}.ai-item-thumbnail{aspect-ratio:2/3;object-fit:cover;background:#f0f3f0;border:1px solid #dce2dc;border-radius:7px;width:54px;display:block}.ai-item-thumbnail-button{background:0 0;border:0;border-radius:8px;padding:0;display:block}.ai-item-thumbnail-button:hover .ai-item-thumbnail,.ai-item-thumbnail-button:focus-visible .ai-item-thumbnail{border-color:#176c8f;box-shadow:0 0 0 2px #176c8f2e}.ai-item-thumbnail.placeholder{background:linear-gradient(110deg,#eef1ee 25%,#f8faf8 45%,#eef1ee 65%) 0 0/220% 100%;animation:1.4s linear infinite ai-thumbnail-loading}.ai-item-thumbnail.placeholder.failed{background:#f6e9e9;animation:none}@keyframes ai-thumbnail-loading{to{background-position-x:-220%}}.ai-item-copy{gap:4px;display:grid}.ai-item-more-button{place-self:center}.ai-item-actions-modal{width:min(100%,420px)}.ai-item-secondary-actions{gap:10px;display:grid}.ai-item-secondary-actions>button{width:100%}.retake-book-modal{width:min(100%,680px)}.retake-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.retake-photo-field{align-content:start;gap:8px;display:grid}.retake-photo-field-heading{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.retake-photo-field-heading strong{font-size:14px}.retake-photo-field-heading span{color:#687069;font-size:12px}.retake-photo-picker{color:#202722;text-align:left;background:#fff;border:1px solid #c8d0c9;border-radius:10px;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:12px;width:100%;min-height:96px;padding:10px;display:grid}.retake-photo-picker:hover,.retake-photo-picker:focus-visible{border-color:#176c8f;box-shadow:0 0 0 2px #176c8f26}.retake-photo-preview{aspect-ratio:4/3;color:#176c8f;background:#edf4f6;border-radius:8px;place-items:center;width:72px;display:grid;overflow:hidden}.retake-photo-preview img{object-fit:cover;width:100%;height:100%}.retake-photo-picker-copy{gap:5px;min-width:0;display:grid}.retake-photo-picker-copy strong{color:#145c72}.retake-photo-picker-copy small{color:#687069;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.retake-photo-remove{justify-self:start;min-height:32px}.retake-book-actions{margin-top:4px}.ai-item-photo-gallery{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;display:grid}.ai-item-modal-photo{gap:7px;margin:0;display:grid}.ai-item-modal-photo img{object-fit:contain;background:#f1f3f1;border-radius:8px;width:100%;max-height:58dvh;display:block}.ai-item-modal-photo figcaption{color:#687069;text-align:center;font-size:13px}.ai-item-row:last-child{border-bottom:0}.ai-item-row strong,.ai-item-row span{min-width:0}.status-badge.ai-queued,.status-badge.ai-processing{color:#74440f;background:#fff4dd}.status-badge.ai-completed{color:#14553f;background:#e9f6ef}.status-badge.ai-completed_with_errors,.status-badge.ai-failed,.status-badge.ai-cancelled{color:#6c3131;background:#f6e9e9}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@media (width<=820px){.reservation-topbar{align-items:stretch}.reservation-branch-filter{flex:auto}.reservation-branch-filter button{flex:auto;padding:0 11px}.reservation-tabs{overflow-x:auto}.reservation-tabs button{white-space:nowrap;flex:none;gap:6px;padding:0 8px;font-size:14px}.circulation-proof-card{grid-template-columns:1fr}.circulation-proof-photo{width:min(100%,360px);max-height:280px}.circulation-proof-context{grid-template-columns:auto minmax(0,1fr)}.reservation-admin-card{border-radius:15px;gap:15px;padding:15px}.reservation-order-facts{grid-template-columns:1fr}.reservation-order-address{grid-column:auto}.reservation-admin-item{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:8px 10px}.reservation-book-check{grid-area:1/1/3;margin-top:1px}.reservation-book-copy{grid-area:1/2}.reservation-admin-item>.status-pill{grid-area:2/2}.reservation-admin-item>.reservation-overflow-menu{grid-area:1/3/3}.reservation-admin-footer{gap:10px;display:grid}.reservation-primary-action{width:100%}.reservation-overflow-popover{max-width:min(280px,100vw - 44px)}.app-shell{display:block}.mobile-topbar{z-index:20;min-height:64px;padding:max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff7;border-bottom:1px solid #d9ded8;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid;position:sticky;top:0;box-shadow:0 8px 22px #1f242012}.mobile-topbar h1{color:#1f2420;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:17px;font-weight:700;line-height:1.2;overflow:hidden}.mobile-menu-trigger{width:44px;min-height:44px}.mobile-topbar-locale-switch{width:auto}.mobile-topbar-locale-switch button{min-height:36px;padding:0 8px}.sidebar{display:none}.mobile-menu{z-index:50;height:100dvh;padding:max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));background:#fff;flex-direction:column;display:flex;position:fixed;inset:0;overflow:hidden}.mobile-menu-header{border-bottom:1px solid #e4e8e3;flex:none;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;display:flex}.mobile-menu .brand-mark{min-height:44px;padding:0}.mobile-menu .brand-mark strong{font-size:18px}.mobile-menu-close{flex:none;width:44px;min-height:44px}.mobile-menu .nav-list{min-height:0;box-shadow:none;overscroll-behavior:contain;background:0 0;border:0;flex:auto;align-content:start;gap:6px;padding:12px 0;display:grid;position:static;overflow:hidden auto}.mobile-menu .nav-item{white-space:normal;border-color:#0000;flex:none;min-width:0;min-height:52px;padding:0 14px;font-size:15px}.mobile-menu .nav-item.active{border-color:#83c7a6}.mobile-menu .nav-ai-badge{margin-left:auto}.mobile-menu-footer{border-top:1px solid #e4e8e3;flex:none;align-items:center;gap:12px;padding-top:14px;display:flex}.mobile-menu-footer .admin-identity{display:block}.mobile-menu-logout{color:#39413b;background:#fff;border:1px solid #d9ded8;border-radius:6px;flex:none;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 14px;display:inline-flex}.mobile-menu-logout:hover,.mobile-menu-logout:focus-visible{color:#0f5f46;background:#edf7f2;border-color:#83c7a6}.workspace{padding:16px max(14px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left))}.workspace-inner,.workspace-inner.narrow,.analytics-workspace{gap:14px;width:100%}.control-grid,.filter-grid,.form-grid,.metric-grid,.analytics-layout,.channel-form,.result-grid,.success-panel,.pending-row{grid-template-columns:1fr}.span-2{grid-column:span 1}.cover-upload{grid-template-columns:88px minmax(0,1fr)}.cover-upload-preview{width:88px}.page-header{gap:8px;display:grid}.page-header h2,.page-header:not(.has-actions):not(.has-before),.page-header.has-actions:not(.has-before) .page-title-row{display:none}.page-title-row{align-items:flex-start}.page-actions,.button-row,.form-actions{justify-content:flex-start}.copy-card-actions{width:100%}.copy-card-actions>.primary-button{flex:auto}.copy-actions-menu{flex:none}.page-actions>*,.button-row>*,.form-actions>*{flex:auto}.page-actions button,.button-row button,.form-actions button,.action-menu,.action-menu>button{width:100%}.toolbar,.tool-panel{padding:14px}.copy-overview-layout{grid-template-columns:140px minmax(0,1fr);gap:18px;padding:16px}.copy-overview-row{grid-template-columns:minmax(90px,120px) minmax(0,1fr);gap:12px}.compact-toolbar{width:100%}.search-field,.field input,.field select,.field textarea{min-height:46px;font-size:16px}.metric-card{min-height:108px}.metric-card strong{font-size:30px}.section-heading{flex-direction:column;align-items:flex-start;gap:5px}.book-copies-heading{gap:10px}.book-copies-heading .secondary-button{width:100%}.profile-copy-value{flex-direction:column;align-items:flex-start}.status-line{align-items:flex-start}.action-menu-popover{min-width:100%;left:0;right:0}.pagination{flex-direction:column;align-items:stretch}.pagination-actions{justify-content:space-between}.ai-photo-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr))}.ai-item-row{grid-template-columns:auto minmax(0,1fr);align-items:start}.ai-item-row>.status-badge,.ai-item-row>.ai-item-actions{grid-column:1/-1}.ai-item-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-item-actions>.table-link{grid-column:1/-1}.ai-item-actions>.ai-item-more-button{grid-column:1/-1;width:44px}.retake-photo-grid{grid-template-columns:1fr}.retake-photo-picker{min-height:88px}}@media (width<=1400px){.phuket-order-row.has-release-action{grid-template-columns:minmax(0,1fr);gap:0}.phuket-order-row.has-release-action .phuket-order-row-actions{padding:0 6px 15px}}@media (width<=1200px){.phuket-order-row{grid-template-columns:minmax(0,1fr);gap:0}.phuket-order-row-actions{justify-content:flex-end;padding:0 6px 15px}}@media (width<=900px){.phuket-order-row-main{grid-template-columns:minmax(155px,.8fr) minmax(130px,.6fr) minmax(220px,1.4fr)}.phuket-order-date{grid-column:1/-1;align-items:baseline;gap:7px;display:flex}.phuket-order-warning,.phuket-order-note{grid-column:1/-1}}@media (width<=700px){.phuket-channel-switcher{grid-template-columns:1fr}.phuket-channel-switcher button{padding:11px 13px}.phuket-orders-toolbar{flex-direction:column;align-items:flex-start}.phuket-orders-tools{width:100%}.phuket-orders-tools button:first-child{flex:1}.phuket-order-search-bar,.phuket-order-sort{padding:12px}.phuket-order-search-field input{font-size:16px}.phuket-order-search-clear{padding-inline:10px}.phuket-order-sort{flex-direction:column;align-items:stretch;gap:8px}.phuket-order-sort-options{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.phuket-order-sort-button{text-align:left;grid-template-columns:minmax(0,1fr) auto;gap:4px 7px;min-width:0;display:grid}.phuket-order-sort-button small{grid-column:1/-1}.phuket-order-list{gap:8px;padding:10px}.phuket-order-row,.phuket-order-row.has-discrepancy{border:1px solid var(--phuket-line);border-radius:12px;grid-template-columns:1fr;gap:6px;margin:0;padding:10px}.phuket-order-row-main{grid-template-columns:1fr;gap:10px;padding:4px}.phuket-absence-form>div:first-of-type{grid-template-columns:1fr}.phuket-absences-list article{flex-direction:column;align-items:stretch}.phuket-order-books strong,.phuket-order-books small{white-space:normal}.phuket-order-book-item.has-action{border-bottom:1px solid #edf1ef;grid-template-columns:1fr;gap:6px;padding-bottom:7px}.phuket-order-book-item-action,.phuket-order-book-inline-action{width:100%}.phuket-order-row-actions{justify-content:flex-end}.phuket-order-row-actions>button:first-child{flex:1}.phuket-order-row.has-release-action .phuket-order-row-actions{flex-wrap:wrap;width:100%;padding:0 4px 4px;display:flex}.phuket-order-row.has-release-action .phuket-order-row-actions>button{white-space:normal;flex:calc(50% - 3px)}.has-stable-order-layout .phuket-order-row .phuket-order-row-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;width:100%;padding:0 4px 4px}.has-stable-order-layout .phuket-order-row-actions>button{white-space:normal;min-height:44px}.has-stable-order-layout .phuket-order-row-actions>button:first-child{grid-area:1/1/auto/-1}.has-stable-order-layout .phuket-order-row-actions>.primary-button{grid-area:2/1/auto/3}.has-stable-order-layout .phuket-order-row-actions>.secondary-button:not(:first-child){grid-area:3/1/auto/-1}.has-stable-order-layout .phuket-order-row-actions>.reservation-overflow-menu{grid-row:2}.has-stable-order-layout .phuket-order-row-actions .reservation-overflow-menu summary{width:44px;height:44px}.phuket-unmatched-proof{grid-template-columns:104px minmax(0,1fr)}.phuket-unmatched-proof .phuket-proof-image-link img{height:92px}.phuket-order-detail-backdrop{padding:28px 0 0}.phuket-order-detail{border-radius:18px 18px 0 0}.phuket-order-detail-header,.phuket-order-detail-section,.phuket-order-detail-footer{padding-left:16px;padding-right:16px}.phuket-order-detail-warning{margin-left:16px;margin-right:16px}.phuket-order-detail-facts{grid-template-columns:1fr;padding-left:16px;padding-right:16px}.phuket-discrepancy-resolution-action{flex-direction:column;flex:1;align-items:stretch}.phuket-discrepancy-resolution-action small{text-align:left;max-width:none}.phuket-archive-form,.phuket-proof-link-form{min-width:0}.table-wrap{padding:0 10px 12px;overflow-x:visible}.table-wrap table{border-collapse:separate;border-spacing:0 10px;min-width:0;font-size:14px}.table-wrap thead{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.table-wrap tbody,.table-wrap tr,.table-wrap td{width:100%;display:block}.table-wrap tr{background:#fff;border:1px solid #e1e7e1;border-radius:8px;overflow:hidden}.table-wrap td{overflow-wrap:anywhere;border-bottom:1px solid #eef1ee;grid-template-columns:minmax(92px,34%) minmax(0,1fr);align-items:start;gap:10px;min-height:42px;padding:10px 12px;display:grid}.table-wrap td:last-child{border-bottom:0}.table-wrap td:before{content:attr(data-label);color:#687069;text-transform:uppercase;font-size:11px;font-weight:700;line-height:1.35}.table-wrap td:not([data-label]):before,.table-wrap td[data-label=""]:before{content:none}.table-wrap td[colspan]{display:block}.table-wrap .table-actions{flex-direction:column;align-items:stretch}.table-wrap .compact-button,.table-wrap .table-action-button{width:100%;min-height:44px}.feedback-preview-button{max-width:none}.feedback-full-text{padding:16px}.result-grid div{padding:12px 14px}}@media (width<=520px){.login-page{padding:16px}.login-panel{padding:22px}.login-brand h1{font-size:24px}.metric-grid,.cover-upload{grid-template-columns:1fr}.cover-upload-preview{width:min(100%,132px)}.book-edition-switcher{padding:16px 16px 0}.book-edition-switcher-heading{align-items:start}.book-edition-switcher-heading strong{font-size:16px}.book-edition-tab{flex-basis:min(288px,100vw - 52px);grid-template-columns:58px minmax(0,1fr)}.book-edition-tab-cover{width:58px}.book-copy-edition-groups{gap:14px;padding:12px}.book-copy-edition-heading{grid-template-columns:54px minmax(0,1fr) auto;gap:10px;padding:12px}.book-copy-edition-cover{width:54px}.book-copy-edition-title h4{font-size:15px}.book-copy-edition-count{min-width:58px;padding:8px}.book-copy-edition-count strong{font-size:19px}.book-copy-edition-group>.book-copy-list{padding:10px}.copy-overview-layout{grid-template-columns:1fr}.copy-overview-cover{width:132px}.copy-overview-row{grid-template-columns:1fr;gap:4px}.modal-backdrop{padding:16px 10px max(10px, env(safe-area-inset-bottom));place-items:end center}.modal-panel{border-radius:10px 10px 8px 8px;width:100%;max-height:min(88dvh,720px);padding:16px}.merge-book-modal{height:min(78dvh,640px);max-height:88dvh}.merge-book-result{min-height:64px}.admin-confirm-backdrop{padding:16px 10px max(10px, env(safe-area-inset-bottom));place-items:end center}.admin-confirm-dialog{border-radius:14px 14px 10px 10px;gap:18px;width:100%;padding:20px 16px}.admin-confirm-actions{grid-template-columns:1fr 1fr;display:grid}}.donation-link-copies{gap:8px;max-height:320px;display:grid;overflow-y:auto}.donation-link-copy{color:#202722;text-align:left;background:#fff;border:1px solid #c8d0c9;border-radius:8px;gap:8px;width:100%;padding:14px;display:grid}.donation-link-copy>span:first-child{gap:4px;display:grid}.donation-link-copy:hover,.donation-link-copy:focus-visible,.donation-link-copy[aria-pressed=true]{background:#edf7f2;border-color:#316b59}.donation-link-copy small,.donation-link-copy-details,.donation-link-note{color:#687069;font-size:13px;line-height:1.45}.donation-link-note{margin:0}.session-unavailable-panel h1{margin:24px 0 12px;font-size:22px;line-height:1.3}.session-unavailable-panel p{color:#667069;line-height:1.5}.return-review-form{gap:16px;display:grid}.return-review-form>p{margin:0}.return-review-books{gap:12px;display:grid}.return-review-book{border:1px solid #d9ded8;border-radius:12px;gap:10px;padding:14px;display:grid}.return-review-book>span{gap:4px;min-width:0;display:grid}.return-review-book small{color:#667069}.return-review-book select{width:100%;min-height:44px;color:inherit;font:inherit;background:#fff;border:1px solid #cbd4ce;border-radius:8px;padding:10px 12px}
