:root{--ink:#08111f;--navy:#0b1930;--blue:#45a9ff;--cyan:#73e1ff;--paper:#f5f7fb;--muted:#6b778c;--line:#dce3ec;--danger:#e65b67}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:Inter,"Noto Sans JP",system-ui,-apple-system,sans-serif;color:var(--ink);background:#08111f}.app-shell{display:grid;grid-template-rows:5dvh 50dvh 45dvh;width:100%;height:100dvh;overflow:hidden}.app-header{display:flex;align-items:center;justify-content:space-between;padding:max(3px,env(safe-area-inset-top)) 14px 3px;background:#fff;border-bottom:1px solid var(--line);z-index:30}.brand{display:flex;align-items:center;gap:8px;font-weight:800;letter-spacing:-.03em;white-space:nowrap}.app-icon{width:29px;height:29px;color:var(--blue)}button,input,select{font:inherit}.header-action{display:flex;align-items:center;gap:6px;width:auto;padding:7px 11px;border:0;border-radius:9px;background:var(--ink);color:#fff;font-size:.76rem;font-weight:750;cursor:pointer}.header-action svg{width:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.camera-section{position:relative;overflow:hidden;background:#07101d;color:#fff;border-bottom:1px solid rgba(255,255,255,.12)}#video{display:block;width:100%;height:100%;object-fit:cover}.camera-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,8,17,.5),transparent 30%,transparent 68%,rgba(2,8,17,.62));pointer-events:none}.section-label{position:absolute;top:14px;left:16px;font-size:.64rem;font-weight:800;letter-spacing:.18em;color:rgba(255,255,255,.78)}.section-label.dark{position:static;color:#6b7890}.icon-button{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(5,13,25,.56);backdrop-filter:blur(10px);color:#fff;cursor:pointer}.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.section-settings{position:absolute;top:9px;right:13px;z-index:5}.scan-guide{position:absolute;left:50%;top:48%;width:min(70vw,340px);height:42%;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.55);border-radius:18px;box-shadow:0 0 0 999px rgba(2,8,17,.12);pointer-events:none}.scan-guide:before,.scan-guide:after,.scan-guide span:before,.scan-guide span:after{content:"";position:absolute;width:26px;height:26px;border-color:var(--cyan);border-style:solid}.scan-guide:before{left:-2px;top:-2px;border-width:3px 0 0 3px;border-radius:16px 0 0}.scan-guide:after{right:-2px;top:-2px;border-width:3px 3px 0 0;border-radius:0 16px 0 0}.scan-guide span:before{left:-2px;bottom:-2px;border-width:0 0 3px 3px;border-radius:0 0 0 16px}.scan-guide span:after{right:-2px;bottom:-2px;border-width:0 3px 3px 0;border-radius:0 0 16px}.scan-result{position:absolute;left:16px;right:16px;bottom:10px;margin:0;text-align:center;font-size:.76rem;font-weight:650;text-shadow:0 1px 4px #000}.camera-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 40%,#172b43,#07101d);color:#c6d0dd}.camera-placeholder p{margin:12px 0;font-size:.85rem}.loader{width:30px;height:30px;border:3px solid rgba(255,255,255,.18);border-top-color:var(--cyan);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.is-hidden{display:none!important}.secondary-button{padding:8px 14px;border:1px solid rgba(255,255,255,.35);border-radius:9px;background:transparent;color:#fff;cursor:pointer}.side-panel{position:absolute;top:0;right:0;bottom:0;width:min(78vw,340px);padding:16px;background:rgba(8,17,31,.96);backdrop-filter:blur(16px);transform:translateX(105%);transition:transform .25s ease;z-index:20;box-shadow:-12px 0 40px rgba(0,0,0,.32)}.side-panel.is-open{transform:translateX(0)}.panel-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.panel-title-row h2{margin:2px 0 0;font-size:1.15rem;letter-spacing:-.03em}.eyebrow{font-size:.61rem;font-weight:850;letter-spacing:.16em;color:#3496e9}.close-button{font-size:1.6rem;line-height:1}.vertical-controls{height:calc(100% - 112px);display:flex;justify-content:center;gap:42px;padding:12px 0 5px}.vertical-control{display:grid;grid-template-rows:22px 1fr 20px;justify-items:center;gap:5px;font-size:.72rem;color:#c8d1dc}.vertical-control strong{font-size:.7rem}.vertical-range{width:150px;height:24px;align-self:center;transform:rotate(-90deg);accent-color:var(--cyan)}.vertical-control:nth-child(2) .vertical-range:disabled{opacity:.3}.switch-camera-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:9px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:#172942;color:#fff;font-size:.76rem;font-weight:700;cursor:pointer}.switch-camera-button svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.barcode-section{position:relative;overflow:hidden;background:var(--paper);padding:12px 16px 14px;outline:none}.barcode-section.is-empty{cursor:pointer}.barcode-topline{display:flex;align-items:center;justify-content:space-between;height:32px}.dark-button{position:static;border-color:var(--line);background:#fff;color:var(--ink);box-shadow:0 3px 12px rgba(15,34,60,.08)}.empty-state,.output-stage{height:calc(100% - 32px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-state svg{width:55px;margin-bottom:12px;fill:#a8b4c4}.empty-state strong{font-size:1rem}.empty-state span{margin-top:5px;color:var(--muted);font-size:.72rem}.output-stage canvas{display:block;max-width:min(92%,360px);max-height:70%;object-fit:contain}.value-text{max-width:90%;margin:12px 0 0;font-size:.9rem;font-weight:750;overflow-wrap:anywhere}.modal-layer{position:fixed;inset:0;display:grid;place-items:center;padding:18px;background:rgba(3,10,20,.64);backdrop-filter:blur(6px);opacity:0;visibility:hidden;transition:.2s;z-index:100}.modal-layer.is-open{opacity:1;visibility:visible}.modal-card{width:min(100%,460px);max-height:90dvh;overflow:auto;padding:22px;border-radius:20px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.3);transform:translateY(10px);transition:.2s}.modal-layer.is-open .modal-card{transform:none}.file-drop{display:flex;flex-direction:column;align-items:center;margin-top:22px;padding:24px 14px;border:1.5px dashed #9eb2c9;border-radius:14px;background:#f7faff;text-align:center;cursor:pointer}.file-drop svg{width:32px;margin-bottom:9px;fill:none;stroke:#238fe8;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.file-drop strong{font-size:.9rem}.file-drop span{margin-top:4px;color:var(--muted);font-size:.7rem}.file-drop input{display:none}.divider{display:flex;align-items:center;gap:10px;margin:16px 0;color:#95a0af;font-size:.68rem}.divider:before,.divider:after{content:"";height:1px;flex:1;background:var(--line)}.field-label{display:block;margin:13px 0 6px;font-size:.75rem;font-weight:750}.text-input{width:100%;padding:11px 12px;border:1px solid #cfd8e4;border-radius:10px;background:#fff;color:var(--ink)}.primary-button{width:100%;margin-top:12px;padding:11px 14px;border:0;border-radius:10px;background:var(--ink);color:#fff;font-weight:750;cursor:pointer}.import-status{min-height:18px;margin:12px 0 0;color:var(--muted);font-size:.7rem;line-height:1.5}.import-status.is-error{color:var(--danger)}.compact-card{width:min(100%,390px)}@media(min-width:800px){.app-shell{width:min(100%,760px);margin:auto;box-shadow:0 0 80px rgba(0,0,0,.45)}.side-panel{width:340px}}@media(max-height:650px){.brand{font-size:.86rem}.app-icon{width:24px;height:24px}.header-action{padding:4px 9px}.side-panel{padding:10px}.vertical-controls{height:calc(100% - 94px)}}
:where([hidden]){display:none!important}
.app-shell{--camera-height:45dvh;grid-template-rows:5dvh var(--camera-height) calc(90dvh - var(--camera-height)) 5dvh}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0;padding:3px 14px;background:#fff;border-top:1px solid var(--line);overflow:hidden}.app-footer nav{display:flex;align-items:center;gap:14px;min-width:0;overflow-x:auto;scrollbar-width:none}.app-footer nav::-webkit-scrollbar{display:none}.app-footer a{flex:0 0 auto;color:var(--muted);font-size:.6rem;font-weight:700;text-decoration:none;white-space:nowrap}.app-footer a:hover{color:var(--blue);text-decoration:underline}.app-footer small{flex:0 0 auto;color:#8994a4;font-size:.56rem;white-space:nowrap}
.app-icon{object-fit:cover;border-radius:7px}.output-stage{touch-action:pan-y;user-select:none}.output-title{max-width:90%;margin:0 0 8px;color:var(--muted);font-size:.72rem;font-weight:800;letter-spacing:.04em}.output-pager{display:flex;align-items:center;justify-content:center;gap:6px;min-height:9px;margin-top:9px}.output-pager span{width:6px;height:6px;border-radius:50%;background:#c4cfdd;transition:.2s}.output-pager span.is-active{width:18px;border-radius:8px;background:var(--blue)}
.header-actions{display:flex;align-items:center;gap:5px}.language-toggle{flex:0 0 auto;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:.66rem;font-weight:850;cursor:pointer}
.setting-mode{display:grid;gap:8px;margin:16px 0;padding:12px;border:1px solid var(--line);border-radius:12px}.setting-mode legend{padding:0 5px;font-size:.72rem;font-weight:800}.setting-mode label{font-size:.75rem;font-weight:700}.format-options{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.format-option{padding:9px 7px;border:1px solid var(--line);border-radius:10px;background:#f8fafc;color:var(--ink);font-size:.69rem;font-weight:800;cursor:pointer}.format-option:hover,.format-option:focus-visible{border-color:var(--blue);background:#eef7ff}.format-option.is-selected{border-color:var(--blue);background:#dff1ff;box-shadow:0 0 0 1px var(--blue)}.format-help{min-height:92px;margin-top:8px;padding:10px;border-radius:10px;background:#f4f7fb;color:#536174;font-size:.67rem;line-height:1.55}.format-help strong{display:block;margin-bottom:3px;color:var(--ink);font-size:.74rem}.column-settings-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:15px}.secondary-dark-button{padding:7px 10px;border:1px solid var(--ink);border-radius:8px;background:#fff;color:var(--ink);font-size:.68rem;font-weight:800;cursor:pointer}.setting-note{margin:7px 0;color:var(--muted);font-size:.66rem}.column-format-list{display:grid;gap:8px}.column-format-row{display:grid;grid-template-columns:minmax(90px,1fr) 1.25fr;gap:8px;align-items:center}.column-format-row label{min-width:0;font-size:.7rem;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.column-format-row select{padding:8px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:.7rem}.barcode-warning{max-width:92%;margin:7px 0 0;padding:7px 10px;border-radius:8px;background:#fff4d6;color:#805600;font-size:.68rem;font-weight:700;line-height:1.4}.compact-card{width:min(100%,520px)}
.barcode-top-left{display:flex;align-items:center}.add-mode-button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#e12e3e;color:#fff;font-size:1.45rem;font-weight:500;line-height:1;box-shadow:0 5px 15px rgba(190,25,42,.3);cursor:pointer}.add-mode-button.is-capture{font-size:0}.add-mode-button.is-capture:before{content:"";width:18px;height:14px;border:2px solid #fff;border-radius:3px}.add-mode-button.is-capture:after{content:"";position:absolute;width:6px;height:6px;border:2px solid #fff;border-radius:50%}.add-mode-stage{height:calc(100% - 32px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 6px 36px;touch-action:pan-y;user-select:none}.add-mode-heading{width:min(100%,420px);display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.add-mode-guide{margin:0;color:var(--muted);font-size:.65rem;text-align:left}.exit-add-mode{flex:0 0 auto;padding:5px 8px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font-size:.65rem;font-weight:800}.add-data-table{width:min(100%,420px);table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid #b9c6d7;border-radius:12px;overflow:hidden;background:#fff}.add-data-table th:first-child,.add-data-table td:first-child{width:30%}.add-data-table th:last-child,.add-data-table td:last-child{width:70%}.add-data-table th,.add-data-table td{padding:12px 9px;border-right:1px solid #d6dee8;text-align:center;overflow-wrap:anywhere}.add-data-table th:last-child,.add-data-table td:last-child{border-right:0}.add-data-table th{border-bottom:1px solid #d6dee8;background:#eaf2fa;color:#3d4d62;font-size:.68rem}.add-data-table td{min-height:54px;font-size:.72rem;font-weight:750}.add-data-table td:last-child{font-size:1rem;font-weight:850}.add-data-table td.is-blank{color:#9ba7b6;font-weight:600}.overwrite-hold-button{position:absolute;left:14px;bottom:12px;z-index:8;padding:8px 10px;border:1px solid #d48b00;border-radius:9px;background:#fff5d8;color:#805600;font-size:.67rem;font-weight:850;cursor:pointer;touch-action:none}.overwrite-hold-button.is-held{background:#dc8700;color:#fff;box-shadow:0 0 0 3px rgba(220,135,0,.2)}.settings-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:16px 0;padding:4px;border-radius:10px;background:#eef2f7}.settings-tab{padding:8px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:.72rem;font-weight:850;cursor:pointer}.settings-tab.is-active{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(20,40,70,.1)}.input-toggle-list{display:grid;gap:9px}.input-toggle-list label{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid var(--line);border-radius:11px}.input-toggle-list span{display:grid;gap:2px}.input-toggle-list strong{font-size:.76rem}.input-toggle-list small{color:var(--muted);font-size:.64rem}.input-toggle-list input{width:38px;height:22px;accent-color:var(--blue)}
.add-mode-button{position:relative}
.barcode-topline{height:42px}.output-stage,.add-mode-stage{height:calc(100% - 42px)}
.add-mode-button{background:#122743;box-shadow:0 5px 15px rgba(8,24,45,.25);font-size:1rem}.add-mode-button.is-capture:before,.add-mode-button.is-capture:after{content:none}.capture-photo-button{position:absolute;left:50%;bottom:12px;z-index:8;width:48px;height:48px;transform:translateX(-50%);border:4px solid #dbe8f7;border-radius:50%;background:#102b50;box-shadow:0 5px 18px rgba(8,30,60,.35);cursor:pointer}.capture-photo-button:before{content:"";position:absolute;left:12px;top:14px;width:18px;height:13px;border:2px solid #fff;border-radius:3px}.capture-photo-button:after{content:"";position:absolute;left:18px;top:17px;width:5px;height:5px;border:2px solid #fff;border-radius:50%}.overwrite-hold-button{border-color:#781c27;background:#8f1e2c;color:#fff}.overwrite-hold-button.is-held{background:#5e101a;box-shadow:0 0 0 3px rgba(143,30,44,.2)}.settings-tab:disabled{opacity:.4;cursor:not-allowed}.file-export-button{width:100%;margin-top:18px;padding:22px 14px;border:1.5px dashed #8fa8c2;border-radius:14px;background:#f3f8fd;color:var(--ink);font-weight:850;cursor:pointer}
.add-value-slide{display:block;will-change:transform,opacity}.add-value-slide.is-blank{color:#9ba7b6;font-weight:600}.capture-photo-button{display:grid;place-items:center;padding:0}.capture-photo-button:before,.capture-photo-button:after{content:none}.capture-photo-button svg{display:block;width:23px;height:23px;fill:#fff}.overwrite-control{position:absolute;left:12px;bottom:8px;z-index:8;width:105px;text-align:center}.overwrite-hold-button{position:static;width:52px;height:52px;padding:0;border-radius:50%;font-size:.68rem}.overwrite-control small{display:block;margin-top:4px;color:#6f2530;font-size:.54rem;font-weight:750;line-height:1.25}.token-help-link{display:block;margin:12px 0 6px;padding:0;border:0;background:transparent;color:#2867b2;font:inherit;font-size:.72rem;font-weight:850;text-decoration:underline;cursor:pointer}.token-help-steps{display:grid;gap:10px;margin:18px 0;padding-left:24px;color:var(--ink);font-size:.74rem;line-height:1.65}.token-help-steps code{padding:2px 5px;border-radius:4px;background:#edf2f7}
.add-mode-heading{flex-direction:column;align-items:stretch}.exit-add-mode{align-self:flex-end}.capture-control{position:absolute;left:50%;bottom:8px;z-index:8;width:112px;transform:translateX(-50%);text-align:center}.capture-photo-button{position:static;width:52px;height:52px;margin:0 auto;transform:none;border:1px solid #174f91;border-radius:50%;background:#1769aa;box-shadow:0 5px 18px rgba(23,105,170,.3)}.capture-control small,.delete-control small{display:block;margin-top:4px;font-size:.54rem;font-weight:750;line-height:1.25}.capture-control small{color:#24557d}.delete-control{position:absolute;right:12px;bottom:8px;z-index:8;width:105px;text-align:center}.delete-hold-button{width:52px;height:52px;padding:0;border:1px solid #111827;border-radius:50%;background:#111827;color:#fff;font-size:.68rem;font-weight:850;cursor:pointer;touch-action:none}.delete-hold-button.is-held{background:#000;box-shadow:0 0 0 3px rgba(17,24,39,.22)}.delete-control small{color:#303846}.confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.confirm-actions button{padding:11px;border-radius:9px;font-size:.72rem;font-weight:850;cursor:pointer}.secondary-button{border:1px solid var(--line);background:#fff;color:var(--ink)}.delete-confirm-button{border:1px solid #111827;background:#111827;color:#fff}
.google-connect-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;padding:13px;border:1px solid #b9cbe0;border-radius:10px;background:#fff;color:#183b66;font-size:.76rem;font-weight:850;cursor:pointer}.google-connect-button:hover{background:#f3f8fd}.google-connect-button svg{width:21px;height:21px;fill:none;stroke:#188038;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.selected-sheet-name{margin:8px 0 0;color:var(--muted);font-size:.68rem;text-align:center;overflow-wrap:anywhere}
.barcode-topline{position:relative}.sheet-sync-status{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:55%;padding:4px 8px;border-radius:999px;background:#edf4fb;color:#35516f;font-size:.58rem;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sheet-sync-status[data-status="saving"]{background:#fff5d8;color:#805600}.sheet-sync-status[data-status="saved"]{background:#e5f6ec;color:#176a3b}.sheet-sync-status[data-status="error"],.sheet-sync-status[data-status="pending"]{background:#fdebed;color:#8b2430}
.app-shell,.app-shell *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.app-shell input,.app-shell textarea,.app-shell [contenteditable="true"]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
.brand-copy{display:grid;line-height:1.05}.brand-copy strong{font-size:.78rem}.brand-copy small{margin-top:2px;color:var(--muted);font-size:clamp(.43rem,1.65vw,.56rem);font-weight:650;letter-spacing:0}
.brand-copy h1{margin:0;font-size:.78rem;line-height:1;font-weight:850;letter-spacing:-.03em}.homepage-description{width:min(100%,620px);margin:0 0 10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;box-shadow:0 4px 16px rgba(15,34,60,.05)}.homepage-description h2{margin:0 0 5px;font-size:.82rem}.homepage-description p{margin:3px 0;color:#526176;font-size:clamp(.58rem,1.8vw,.68rem);line-height:1.45}.homepage-description a{display:inline-block;margin-top:5px;color:#1769aa;font-size:.64rem;font-weight:800;text-decoration:underline}.empty-state:has(.homepage-description)>strong{font-size:.82rem}.empty-state:has(.homepage-description)>span{margin-top:2px;font-size:.62rem}@media(max-height:650px){.homepage-description{margin-bottom:5px;padding:6px 9px}.homepage-description p{line-height:1.28}.homepage-description a{margin-top:2px}}

/* Keep add-mode controls in the document flow so they never cover the table. */
.add-mode-stage{justify-content:flex-start;padding:0 6px 3px;overflow:hidden}
.add-mode-heading{flex:0 0 auto;margin:0 0 4px}
.add-mode-guide{line-height:1.25}
.add-data-table{flex:0 0 auto}
.add-mode-stage>.output-pager{flex:0 0 auto;margin-top:4px}
.add-mode-stage>.exit-add-mode{align-self:flex-end;flex:0 0 auto;margin:3px max(0px,calc((100% - min(100%,420px))/2)) 0 0}
.capture-control{position:static;left:auto;bottom:auto;z-index:auto;flex:0 0 auto;width:auto;margin-top:3px;transform:none;text-align:center}
.capture-photo-button{width:48px;height:48px}
.capture-control small{margin-top:2px;line-height:1;white-space:nowrap}

.import-loading{display:flex;align-items:center;justify-content:center;gap:9px;margin:12px 0 2px;padding:10px 12px;border-radius:10px;background:#eef7ff;color:#174f7d}
.import-loading-spinner{width:20px;height:20px;flex:0 0 auto;border:3px solid #bdd8ee;border-top-color:#1769aa;border-radius:50%;animation:spin .75s linear infinite}
.import-loading strong{font-size:.72rem}
#importPanel[aria-busy="true"] button:disabled,#importPanel[aria-busy="true"] input:disabled{cursor:wait;opacity:.6}

.import-choice-panel{display:grid;gap:10px;margin-top:18px}
.import-choice-button{display:flex;align-items:center;gap:13px;width:100%;padding:15px;border:1px solid #c8d5e3;border-radius:13px;background:#fff;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .2s,background .2s,transform .2s}
.import-choice-button:hover,.import-choice-button:focus-visible{border-color:#238fe8;background:#f3f9ff;transform:translateY(-1px)}
.import-choice-button svg{width:30px;height:30px;flex:0 0 auto;fill:none;stroke:#1769aa;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.import-choice-button span{display:grid;gap:3px}.import-choice-button strong{font-size:.8rem}.import-choice-button small{color:var(--muted);font-size:.63rem;line-height:1.4}
.drive-choice{border-color:#afd0b9;background:#f4fbf6}.drive-choice svg{stroke:#188038}.drive-choice .google-drive-logo{width:26px!important;height:26px!important;max-width:26px;max-height:26px;flex:0 0 26px;object-fit:contain}
.public-sheet-title{margin:0;font-size:1.15rem;letter-spacing:-.03em}
.spreadsheet-url-description{display:block;margin:10px 0 6px;color:var(--muted);font-size:.58rem;font-weight:400;line-height:1.45}
.spreadsheet-url-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:stretch}
.spreadsheet-url-row .primary-button{width:auto;margin:0;padding:9px 13px;white-space:nowrap}
.spreadsheet-help{margin:8px 0 0;color:#425269;font-size:.69rem;line-height:1.55}
.spreadsheet-help summary{padding:4px 0;color:#225a94;font-weight:850;cursor:pointer}
.spreadsheet-help ol{margin:5px 0 0;padding:0 0 4px 22px}.spreadsheet-help p{margin:4px 0 0;color:var(--muted)}
.public-sheet-warning{margin:9px 0 0;padding:8px 10px;border-left:3px solid #d48b00;background:#fff8e6;color:#73530c;font-size:.62rem;line-height:1.55}
.capture-photo-button:disabled{cursor:wait;opacity:.6}
.header-action.is-icon-only{display:grid;place-items:center;width:38px;height:38px;padding:0;border-radius:50%}
.header-action.is-icon-only svg{width:19px;height:19px}
.data-hyperlink{color:#1769aa;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere}
.add-value-slide .data-hyperlink{display:block;font-size:.72rem;line-height:1.3}
.add-data-table #addValueCell,.add-data-table #addTitleCell{cursor:text;touch-action:none;-webkit-touch-callout:none}
.cell-edit-input{min-height:96px;resize:vertical;line-height:1.5}
.cell-edit-note{margin:6px 0 0;color:var(--muted);font-size:.66rem}
.cell-edit-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:16px}.cell-edit-actions button{margin:0;padding:10px 8px;border-radius:9px;font-size:.7rem;font-weight:800;cursor:pointer}.cell-delete-button{border:1px solid #9c2634;background:#fff;color:#8f1e2c}.cell-delete-button:disabled{cursor:not-allowed;opacity:.4}
@media(max-width:600px){.drive-choice .google-drive-logo{width:22px!important;height:22px!important;max-width:22px;max-height:22px;flex-basis:22px}}
.empty-state:has(.homepage-description)>span{margin-top:2px}.empty-state:has(.homepage-description)>.homepage-description{margin:16px 0 0}
.section-resize-handle{position:absolute;left:50%;bottom:0;z-index:28;width:74px;height:16px;padding:0;transform:translateX(-50%);border:0;border-radius:10px 10px 0 0;background:rgba(5,13,25,.72);cursor:ns-resize;touch-action:none}.section-resize-handle span{display:block;width:34px;height:3px;margin:auto;border-radius:99px;background:rgba(255,255,255,.82)}.section-resize-handle.is-dragging{background:#1769aa}.section-resize-handle:focus-visible{outline:2px solid var(--cyan);outline-offset:-2px}
