:root{--ink:#2b3e37;--muted:#778078;--green:#36594f;--green-soft:#e7eee8;--paper:#f8f5f0;--white:#fffefa;--rose:#efdcd7;--rose-dark:#a9685e;--border:#e7e5dd;--shadow:0 9px 35px #383c2f06;--radius:22px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;color:var(--ink);background:var(--paper);font-size:15px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #bb8e7c;outline-offset:4px}a{color:var(--green)}button{border:0;background:none;color:inherit}button svg{flex-shrink:0}svg.icon{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1,h2.serif,.serif{font-family:Georgia,"Times New Roman",serif;font-weight:400}h1{font-size:clamp(30px,3.2vw,43px);letter-spacing:-1.1px;line-height:1.2}h2{font-size:20px;font-weight:600}h3{font-size:16px;font-weight:600}.sub{color:var(--muted);font-size:14px;line-height:1.7}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:650;color:var(--muted)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand-mark{width:43px;height:43px;background:var(--green);border-radius:14px;display:grid;place-items:center}.brand-mark img{width:38px;height:38px;border-radius:10px}.brand-name{font:29px Georgia,serif;letter-spacing:-1px}.brand-caption{font-size:9px;letter-spacing:1.8px;color:var(--muted);text-transform:uppercase;margin-top:3px}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#fcfaf6;border-right:1px solid var(--border);padding:35px 23px 22px;display:flex;flex-direction:column;z-index:10}.sidebar .brand{margin-bottom:46px}.nav-caption{padding:0 14px;margin:0 0 12px}.side-nav{display:grid;gap:5px}.side-nav button{padding:13px 15px;display:flex;align-items:center;gap:13px;text-align:left;border-radius:12px;color:#717a72;font-size:14px}.side-nav button.active{background:var(--green-soft);color:var(--green);font-weight:600}.side-nav button:hover{background:#efeee7}.side-nav .nav-caption{margin-top:27px}.sidebar-bottom{margin-top:auto}.local-pill{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--green);background:#edf0e8;padding:12px;border-radius:12px}.dot{width:6px;height:6px;background:#6f9479;border-radius:100%;flex-shrink:0}.account{display:flex;align-items:center;gap:10px;margin-top:20px;padding:0 4px}.avatar{height:36px;width:36px;display:grid;place-items:center;background:var(--rose);border-radius:50%;color:#865f56;font-size:13px;font-weight:600}.account-name{font-size:12px;font-weight:600;max-width:105px;overflow:hidden;text-overflow:ellipsis}.account-role{font-size:11px;color:var(--muted);margin-top:4px}.account .icon-btn{margin-left:auto}.main{margin-left:236px;padding:29px 44px 50px;max-width:1630px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:39px;gap:10px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.top-actions{display:flex;align-items:center;gap:11px}.lang-button{font-size:12px;padding:8px 11px;border:1px solid var(--border);border-radius:9px;color:var(--muted)}.icon-btn{width:38px;height:38px;display:inline-flex;justify-content:center;align-items:center;border-radius:10px}.icon-btn:hover{background:#ecece4}.page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:30px}.page-head .sub{margin-top:10px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:12px 19px;border-radius:12px;background:var(--green);color:#fff;font-weight:550;font-size:13px;border:1px solid transparent;line-height:1.25;text-decoration:none}.btn:hover{filter:brightness(1.07)}.btn.secondary{background:var(--white);border-color:var(--border);color:var(--ink)}.btn.rose{background:var(--rose);color:#6c4c44}.btn.small{min-height:38px;padding:9px 13px;font-size:12px;border-radius:10px}.btn.danger{background:#f5e6e1;color:#9b4b40}.btn.text{background:none;color:var(--green);padding:8px 0;min-height:35px}.btn.full{width:100%}.hero{display:grid;grid-template-columns:1.25fr .75fr;min-height:231px;border:1px solid #e6e4da;background:#efeee5;border-radius:var(--radius);overflow:hidden;margin-bottom:23px}.hero-content{padding:31px 35px;position:relative;z-index:1}.hero .eyebrow{margin-bottom:14px}.hero h2{font:32px/1.2 Georgia,serif;letter-spacing:-.6px}.hero p{font-size:13px;line-height:1.7;color:#748075;max-width:370px;margin-top:12px}.hero .btn{margin-top:23px}.hero-art{position:relative;display:grid;place-items:center;overflow:hidden;background:#e8e8dc}.hero-art:before{content:'';position:absolute;width:240px;height:240px;background:#f3e1d7;border-radius:50%;top:35px;right:15px}.hero-art svg{position:relative;max-height:240px;width:100%;height:100%}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:19px;margin-bottom:34px}.stat{padding:21px 23px;background:var(--white);border:1px solid var(--border);border-radius:17px;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between}.stat span{font-size:12px;color:var(--muted)}.stat strong{display:block;font:31px Georgia,serif;margin-top:7px}.stat-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#f3eee7;color:#9d8c75}.stat:nth-child(2) .stat-icon{background:#f4e8e5;color:#b08075}.stat:nth-child(3) .stat-icon{background:#e8eee7;color:#7a9279}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:25px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-title h2{font-size:18px}.text-link{font-size:12px;color:var(--green);display:flex;align-items:center;gap:5px}.panel{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:25px}.empty{text-align:center;padding:38px 20px}.empty .empty-icon{margin:0 auto 14px;width:60px;height:60px;border-radius:20px;background:#f2eee7;color:#a4957c;display:grid;place-items:center}.empty h3{font:21px Georgia,serif;margin-bottom:9px}.empty .sub{font-size:12px;max-width:310px;margin:auto}.empty .btn{margin-top:22px}.mini-note{border-top:1px solid var(--border);margin-top:21px;padding-top:17px;font-size:11px;color:var(--muted);display:flex;gap:9px;line-height:1.7}.mini-note .icon{width:16px;height:16px;flex-shrink:0}.export-panel{background:#f0e6e0;border-color:#e9dcd4}.export-panel .tile-icon{width:42px;height:42px;border-radius:12px;background:#fff8ef;color:#967765;display:grid;place-items:center;margin-bottom:19px}.export-panel h3{font:23px Georgia,serif;margin-bottom:12px}.export-panel .sub{font-size:12px}.export-panel .btn{margin-top:24px;width:100%;background:#fffaf5;color:var(--ink);border:1px solid #e2d3c8}.howto{margin-top:21px;font-size:12px;line-height:1.8;color:var(--muted)}.howto b{display:block;color:var(--ink);font-size:12px;margin-bottom:7px}.steps{display:flex;gap:10px;margin:8px 0;align-items:flex-start}.step-number{border:1px solid #dddcd2;border-radius:50%;width:19px;height:19px;display:inline-grid;place-items:center;font-size:10px;flex-shrink:0}.record-row{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--border);text-align:left;width:100%}.record-row:last-child{border-bottom:0}.record-thumb{width:58px;height:64px;border-radius:11px;object-fit:cover;background:#f1eee7;display:grid;place-items:center;flex-shrink:0}.record-row h3{font-size:13px;margin-bottom:5px;line-height:1.5}.record-row .sub{font-size:11px}.record-row .price{margin-left:auto;font-size:13px;text-align:right;white-space:nowrap}.tag{display:inline-block;padding:5px 8px;background:var(--green-soft);color:#5a7565;border-radius:6px;font-size:10px;line-height:1.2}.page-foot{display:flex;justify-content:space-between;color:#969c93;font-size:10px;margin-top:38px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:12px;font-weight:550;color:#546256;display:flex;justify-content:space-between;gap:5px}.field input,.field select,.field textarea,.search-input{width:100%;border:1px solid #dedfd5;background:#fffefa;border-radius:10px;padding:12px 13px;color:var(--ink);outline:none;min-height:45px;font-size:14px}.field input:focus,.field select:focus,.field textarea:focus,.search-input:focus{border-color:#83a18a;box-shadow:0 0 0 3px #36594f0b}.field textarea{min-height:80px;resize:vertical;line-height:1.6}.field .hint,.hint{font-size:11px;color:var(--muted);line-height:1.6}.field input[readonly]{background:#f1f1e9;color:var(--muted)}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px;flex-shrink:0}.check-label{display:flex;gap:9px;align-items:center;font-size:13px;line-height:1.6}.check-grid{display:flex;flex-wrap:wrap;gap:8px}.check-chip{display:inline-flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid var(--border);border-radius:10px;font-size:12px;background:#faf9f4}.check-chip:has(input:checked){background:var(--green-soft);border-color:#a2b7a3}.capture-grid{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.2fr);gap:24px;align-items:start}.capture-aside{position:sticky;top:25px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.panel-head h2{font-size:16px}.panel+.panel{margin-top:20px}.photo-drop{min-height:225px;border:1.5px dashed #c5c9b7;border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center;background:#f4f3eb;padding:24px}.photo-drop .camera-bubble{width:55px;height:55px;background:#e7e8da;border-radius:18px;display:grid;place-items:center;color:#768771}.photo-drop p{font-size:12px;line-height:1.7;color:var(--muted)}.photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.photo-actions .btn{padding:10px;font-size:12px}.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}.media-tile{position:relative;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#efeee7;aspect-ratio:1}.media-tile img{width:100%;height:100%;object-fit:cover}.media-tile .remove-media{position:absolute;right:3px;top:3px;background:#fffefaeb;border-radius:50%;width:26px;height:26px;display:grid;place-items:center}.media-tile .remove-media .icon{width:14px;height:14px}.media-tile .main-tag{position:absolute;left:4px;bottom:5px;font-size:9px;background:#36594fe6;color:white;padding:4px 6px;border-radius:5px}.media-tile .video-label{display:flex;align-items:center;justify-content:center;height:100%;gap:5px;font-size:11px}.ocr-card{background:#edf0e6;border-radius:14px;padding:17px;margin-top:18px}.ocr-card h3{display:flex;align-items:center;gap:8px;font-size:12px}.ocr-card p{font-size:11px;color:#7b8576;line-height:1.7;margin:9px 0 13px}.ocr-card .btn{width:100%}.ocr-status{font-size:11px;line-height:1.7;margin-top:10px;color:#64775c}.label-help{margin-top:18px;font-size:11px;line-height:1.8;color:var(--muted)}.label-help b{display:block;color:#65715f;margin-bottom:5px}.pill-label{font-size:10px;background:#edf1e7;color:#718269;padding:3px 6px;border-radius:5px}.details{border-top:1px solid var(--border);margin-top:22px;padding-top:17px}.details summary{cursor:pointer;min-height:35px;list-style:none;font-size:13px;font-weight:600;display:flex;justify-content:space-between;align-items:center}.details summary:after{content:'+';font-size:19px;font-weight:300;color:var(--muted)}.details[open]>summary{margin-bottom:16px}.details[open]>summary:after{content:'−'}.save-bar{position:sticky;bottom:16px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;background:#fffef9f5;backdrop-filter:blur(12px);border:1px solid var(--border);box-shadow:0 4px 25px #263b3010;border-radius:16px;margin-top:24px}.save-bar .hint{max-width:160px}.save-actions{display:flex;gap:9px}.notice{padding:14px 17px;border-radius:12px;background:#f1eae0;color:#8a7461;font-size:12px;line-height:1.75;margin-bottom:20px}.notice.green{background:var(--green-soft);color:#5b7563}.filter-panel{margin-bottom:23px}.search-row{display:flex;gap:12px;align-items:center}.search-wrap{position:relative;flex:1}.search-wrap .icon{position:absolute;left:13px;top:12px;width:18px;height:18px;color:#a0a698}.search-input{padding-left:41px}.filter-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:18px}.filter-fields .field input,.filter-fields .field select{font-size:12px;padding:10px}.filter-fields label{font-size:11px}.result-bar{display:flex;align-items:center;justify-content:space-between;margin:20px 0 15px;font-size:12px;color:var(--muted);gap:10px}.item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.item-card{background:var(--white);border:1px solid var(--border);border-radius:17px;overflow:hidden;text-align:left;position:relative;box-shadow:var(--shadow)}.item-image{height:193px;background:#eeece4;position:relative;display:grid;place-items:center;color:#a0a38e}.item-image img{width:100%;height:100%;object-fit:cover}.item-select{position:absolute;top:11px;left:11px;background:#fffefaed;border-radius:8px;padding:4px;display:grid;place-items:center;z-index:2}.item-select input{margin:1px}.item-media-count{position:absolute;bottom:10px;right:11px;background:#fffefaeb;border-radius:7px;padding:5px 8px;font-size:10px}.item-body{padding:16px 17px;cursor:pointer}.item-body .eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:7px}.item-body h3{font-size:14px;line-height:1.5;min-height:21px;margin-bottom:9px}.item-meta{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px;color:var(--muted);margin-top:14px}.item-price{font-size:13px;color:var(--ink);font-weight:600}.entity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.entity-card{background:var(--white);border:1px solid var(--border);border-radius:18px;padding:22px}.entity-card .avatar{width:42px;height:42px;font-size:14px;border-radius:13px;margin-bottom:18px}.entity-card h3{margin-bottom:8px}.entity-card .sub{font-size:12px;overflow-wrap:anywhere}.entity-top{display:flex;justify-content:space-between;align-items:flex-start}.entity-actions{display:flex;gap:5px;margin-top:18px;padding-top:12px;border-top:1px solid var(--border)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.settings-grid .panel+.panel{margin-top:0}.settings-grid .panel h2{font-size:17px;margin-bottom:15px}.settings-grid .panel p{margin-bottom:16px}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid var(--border);font-size:12px;gap:15px}.setting-row:last-child{border:0}.setting-value{font-weight:600;text-align:right}.settings-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.export-choice{display:flex;gap:14px;padding:19px;border:1px solid var(--border);border-radius:14px;margin-top:12px;align-items:center}.export-choice .tile-icon{width:44px;height:44px;border-radius:13px;background:#ecf0e6;color:#77916b;display:grid;place-items:center;flex-shrink:0}.export-choice h3{font-size:14px;margin-bottom:7px}.export-choice .sub{font-size:11px}.export-choice .btn{margin-left:auto;flex-shrink:0}.export-summary{font:44px Georgia,serif;margin:10px 0}.auth-wrap{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:var(--white)}.auth-story{background:#eaece1;padding:52px;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-story .brand{position:relative;z-index:1}.auth-story-copy{position:relative;z-index:1;margin:auto 0 0;padding-top:40px}.auth-story h1{max-width:430px;font-size:clamp(38px,4.6vw,65px);line-height:1.13}.auth-story p{font-size:14px;line-height:1.8;color:#7a8574;max-width:340px;margin-top:20px}.auth-illustration{height:300px;width:100%;margin:20px auto 10px;max-width:430px}.auth-illustration svg{height:100%;width:100%}.auth-story .eyebrow{margin-top:20px}.auth-content{display:flex;flex-direction:column;justify-content:center;padding:55px max(38px,8vw);position:relative}.auth-lang{position:absolute;top:30px;right:35px}.auth-content .eyebrow{margin-bottom:17px}.auth-content h2{font:32px Georgia,serif;letter-spacing:-.7px;margin-bottom:12px}.auth-content form{margin-top:29px;display:grid;gap:18px}.auth-note{font-size:11px;line-height:1.8;color:#92988c;margin-top:24px}.auth-content .notice{margin-top:20px;margin-bottom:0}.auth-mini-brand{display:none}.auth-error{color:#a04a40;background:#f7e9e3;border-radius:9px;padding:11px 13px;font-size:12px;line-height:1.6}.bottom-nav{display:none}dialog{padding:0;border:1px solid var(--border);border-radius:22px;background:var(--white);color:var(--ink);box-shadow:0 30px 100px #263b3026;width:min(570px,calc(100vw - 32px));max-height:90dvh}dialog::backdrop{background:#26382c50;backdrop-filter:blur(3px)}.modal-head{padding:23px 25px 17px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border)}.modal-head h2{font:25px Georgia,serif}.modal-body{padding:23px 25px;overflow:auto}.modal-foot{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.modal-body .sub{margin-bottom:20px}.menu-list{display:grid;gap:5px}.menu-list button{display:flex;align-items:center;gap:13px;text-align:left;padding:13px 10px;border-radius:10px;font-size:14px}.menu-list button:hover{background:var(--green-soft)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(100px);background:#2e4a40;color:white;padding:14px 23px;border-radius:13px;z-index:100;box-shadow:0 5px 35px #263b3026;font-size:13px;max-width:90vw;text-align:center;line-height:1.6;transition:transform .2s;pointer-events:none}#toast.visible{transform:translateX(-50%) translateY(0)}.gallery{display:grid;gap:13px}.gallery img,.gallery video{width:100%;max-height:60dvh;object-fit:contain;border-radius:13px;background:#f0eee8}.gallery-nav{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-top:12px}.progress{height:4px;background:#dce2d4;border-radius:4px;margin-top:10px;overflow:hidden}.progress div{height:100%;background:#7b9477;transition:width .2s}.muted{color:var(--muted)}.hidden{display:none!important}.spacer{height:17px}.required{color:#bc8271}.error-page{max-width:650px;margin:15vh auto;padding:30px}.export-extra{margin-top:22px;border-top:1px solid var(--border);padding-top:18px}.inline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mobile-status{display:none}.draft-status{font-size:10px;color:var(--muted)}.ocr-suggestions{display:grid;gap:9px;margin-top:15px}.ocr-suggestions .check-label{font-size:12px}.crop-stage{position:relative;touch-action:none;user-select:none;line-height:0;border-radius:12px;overflow:hidden;background:#ddd}.crop-stage img{width:100%;display:block;pointer-events:none}.crop-box{position:absolute;border:2px solid #e6a79d;background:#fff2;box-shadow:0 0 0 1000px #20382b50;pointer-events:none}.crop-instruction{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:12px}.draft-badge{font-size:10px;color:#9a7868;background:#f5ece5;border-radius:6px;padding:5px 8px}.import-warning{overflow-wrap:anywhere}.photo-main{position:relative;cursor:pointer}.photo-main img{width:100%;max-height:310px;object-fit:contain;background:#f2efe7;border-radius:14px}.photo-main .main-tag{position:absolute;bottom:12px;left:12px;background:#fffefaed;padding:6px 9px;border-radius:8px;font-size:10px}.view-switch{display:inline-flex;background:#f0eee8;padding:3px;border-radius:10px;gap:3px}.view-switch button{padding:7px 11px;font-size:11px;border-radius:7px}.view-switch button.active{background:white;box-shadow:0 1px 4px #0001}.count-badge{font-size:10px;border-radius:6px;background:#eceee5;padding:3px 6px;color:var(--muted)}.tip-list{padding-left:18px;color:var(--muted);font-size:12px;line-height:1.9}.storage-meter{height:7px;background:#ebece3;border-radius:5px;overflow:hidden;margin-top:12px}.storage-meter div{background:#8ca18b;height:100%}.entity-notes{font-size:11px;color:var(--muted);margin-top:9px;line-height:1.6;white-space:pre-wrap}.form-grid .span2{grid-column:span 2}.filter-toggle{white-space:nowrap}.badge-row{display:flex;gap:6px;flex-wrap:wrap}.device-label{font-size:10px;color:#909889;display:flex;align-items:center;gap:5px}.device-label svg{width:14px;height:14px}
@media(min-width:1450px){.main{padding:32px 65px 50px}.hero-content{padding:35px 40px}.hero{min-height:250px}.hero h2{font-size:37px}.item-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.sidebar{width:209px;padding:30px 17px}.main{margin-left:209px;padding:27px 27px 40px}.hero-content{padding:27px}.hero h2{font-size:28px}.stats{gap:12px}.stat{padding:18px}.dashboard-grid{grid-template-columns:1.3fr 1fr;gap:18px}.panel{padding:21px}.capture-grid{grid-template-columns:.9fr 1.1fr;gap:18px}.filter-fields{grid-template-columns:repeat(3,1fr)}.item-grid,.entity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-content{padding:45px}.auth-story{padding:40px}.save-bar .hint{display:none}}
@media(max-width:1000px){.sidebar{display:none}.main{margin-left:0;padding:22px 23px 115px;max-width:none}.topbar{margin-bottom:28px}.mobile-status{display:flex;font-size:10px;color:var(--green);align-items:center;gap:6px}.breadcrumb{font-size:11px}.top-actions .device-label{display:none}.page-head{margin-bottom:24px}.page-head h1{font-size:33px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fffefaf5;backdrop-filter:blur(20px);border-top:1px solid var(--border);padding:9px 10px max(10px,env(safe-area-inset-bottom));display:flex;justify-content:space-around;z-index:20}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:9px;color:#889181;width:63px;min-height:43px}.bottom-nav button.active{color:var(--green);font-weight:600}.bottom-nav .capture-nav svg{background:var(--green);color:white;width:42px;height:33px;padding:6px;border-radius:11px}.bottom-nav .capture-nav{color:var(--green)}.hero{grid-template-columns:1.3fr .7fr}.hero-art:before{right:-50px}.dashboard-grid{grid-template-columns:1.4fr 1fr}.capture-grid{grid-template-columns:.8fr 1.2fr}.capture-aside{position:static}.settings-grid{gap:18px}.save-bar{bottom:85px}.auth-story{padding:30px}.auth-content{padding:35px}.auth-story h1{font-size:42px}.auth-illustration{height:240px}#toast{bottom:100px}.page-foot{display:none}}
@media(max-width:600px){.main{padding:20px 18px 110px}.topbar{margin-bottom:25px}.page-head{align-items:flex-start;gap:12px}.page-head h1{font-size:31px}.page-head .sub{font-size:12px;margin-top:8px}.page-head>.btn{min-height:41px;padding:10px 12px;font-size:11px}.page-head>.btn .icon{width:16px;height:16px}.hero{grid-template-columns:1.35fr .65fr;min-height:216px;border-radius:19px;margin-bottom:16px}.hero-content{padding:23px 0 23px 23px}.hero h2{font-size:27px;line-height:1.15}.hero p{font-size:11px;line-height:1.8;margin-top:10px;max-width:210px}.hero .eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:12px}.hero .btn{font-size:11px;padding:10px 13px;min-height:40px;margin-top:17px}.hero-art{background:none}.hero-art:before{width:160px;height:160px;right:-55px;top:40px;background:#edddd0}.hero-art svg{min-width:160px;max-height:200px;right:13px;top:18px}.stats{gap:9px;margin-bottom:27px}.stat{display:block;padding:15px 13px;position:relative;border-radius:14px}.stat span{font-size:10px}.stat strong{font-size:27px;margin-top:8px}.stat-icon{position:absolute;right:10px;bottom:17px;width:26px;height:26px;border-radius:9px}.stat-icon .icon{width:15px;height:15px}.dashboard-grid{grid-template-columns:1fr;gap:22px}.panel{padding:21px;border-radius:18px}.export-panel{display:grid;grid-template-columns:45px 1fr;gap:0 14px}.export-panel .tile-icon{grid-row:span 2;margin:0}.export-panel h3{font-size:21px;margin-bottom:8px}.export-panel .sub{grid-column:2}.export-panel .btn{grid-column:1/-1;margin-top:18px}.howto{display:none}.form-grid{gap:16px 12px}.form-grid.three{grid-template-columns:repeat(3,1fr);gap:10px}.field label{font-size:11px}.field input,.field select,.field textarea{font-size:16px;padding:11px 12px}.field .hint,.hint{font-size:10px}.capture-grid{grid-template-columns:1fr;gap:18px}.capture-aside>.panel{padding:18px}.photo-drop{min-height:170px}.photo-drop .camera-bubble{width:45px;height:45px;border-radius:14px}.photo-drop p{font-size:11px}.photo-drop strong{font-size:13px}.ocr-card{margin-top:15px;padding:14px}.ocr-card p{margin:7px 0 11px}.photo-main img{max-height:260px}.label-help{display:none}.save-bar{padding:12px;gap:8px;bottom:85px;margin-top:17px;border-radius:13px}.save-actions{width:100%;gap:8px}.save-actions .btn{font-size:11px;padding:12px 10px;flex:1;min-height:45px}.save-actions .btn.secondary{flex:.75}.save-bar>.btn{display:none}.search-row{gap:8px}.search-input{font-size:14px;min-height:43px}.search-row .btn{min-height:43px;font-size:11px;padding:10px 11px}.filter-fields{grid-template-columns:repeat(2,1fr);gap:14px 10px}.filter-fields .field input,.filter-fields .field select{font-size:16px;padding:10px}.filter-panel{padding:16px}.result-bar{font-size:11px}.item-grid{gap:12px}.item-image{height:164px}.item-body{padding:13px 12px}.item-body h3{font-size:12px}.item-body .eyebrow{font-size:8px}.item-meta{flex-wrap:wrap;font-size:10px;margin-top:11px}.item-price{font-size:12px}.item-select{left:8px;top:8px}.entity-grid{grid-template-columns:1fr;gap:14px}.entity-card{padding:19px}.entity-card .avatar{width:38px;height:38px;margin-bottom:14px}.settings-grid{grid-template-columns:1fr}.export-choice{padding:15px;gap:11px;flex-wrap:wrap}.export-choice .tile-icon{width:35px;height:35px;border-radius:10px}.export-choice h3{font-size:13px}.export-choice .sub{font-size:10px}.export-choice .btn{width:100%;margin:5px 0 0}.auth-wrap{display:block;min-height:100dvh;background:var(--paper)}.auth-story{display:none}.auth-content{padding:95px 29px 45px;max-width:440px;margin:auto}.auth-content h2{font-size:32px}.auth-content .eyebrow{font-size:9px}.auth-mini-brand{display:block;margin-bottom:43px}.auth-mini-brand .brand-name{font-size:32px}.auth-lang{top:24px;right:25px}.auth-content form{margin-top:26px;gap:20px}.auth-content .field label{font-size:12px}.auth-content .btn{min-height:49px;font-size:14px}.auth-note{font-size:10px;line-height:1.9}.modal-head{padding:18px 20px 14px}.modal-head h2{font-size:23px}.modal-body{padding:19px 20px}.modal-body .form-grid{grid-template-columns:1fr 1fr}.modal-body .field input,.modal-body .field select{font-size:16px}.modal-foot .btn{font-size:12px;padding:12px 15px}.section-title h2{font-size:17px}.text-link{font-size:11px}.notice{font-size:11px}.empty{padding:32px 12px}.empty h3{font-size:22px}.empty .sub{font-size:12px}.badge-row .tag{font-size:9px}.record-row{gap:12px}.record-thumb{width:54px;height:61px}.record-row h3{font-size:12px}.record-row .price{font-size:12px}.export-summary{font-size:38px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media print{.sidebar,.bottom-nav,.topbar,.save-bar,button{display:none!important}.main{margin:0;padding:0}.item-grid{grid-template-columns:repeat(3,1fr)}.item-card{break-inside:avoid}}

.network-mode{background:#f5e9df;border:1px solid #dec7b4}.network-switch{margin:13px 0 0;font-size:13px}.recognition-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:9px}.recognition-links .btn{width:auto!important;font-size:11px}.recognition-provider{font-size:11px;color:#8c6a56;margin-bottom:12px}.ocr-review-row{padding:12px 0;border-bottom:1px solid var(--border)}.ocr-edit{width:100%;margin:8px 0 4px;padding:11px 12px;border:1px solid var(--border);border-radius:9px;color:var(--ink);background:var(--white);font:inherit;font-size:16px}.ocr-review-row .check-label{font-size:12px}.ocr-review-row .draft-badge{margin-left:5px}

/* TOP BUY supplied logo viewport and capture roles */
.brand-mark{background:#fff!important;border:1px solid #eee7e3;overflow:hidden}.brand-mark img{width:100%!important;height:100%!important;object-fit:contain}.brand-name{font-family:Arial,sans-serif!important;font-weight:700!important;font-size:22px!important;letter-spacing:.02em;color:#c81036}.photo-roles{margin:16px 0}.photo-roles label{display:block;font-size:12px;margin:10px 0 6px}.photo-roles select{width:100%;max-width:100%;padding:10px;border:1px solid #ddd9d0;border-radius:10px;background:#fff}.photo-roles .hint{margin:10px 0;line-height:1.7}

.top-buy-mini{width:30px;height:22px;object-fit:contain}.top-buy-name{color:#c81036;white-space:nowrap;font-family:Arial,sans-serif;letter-spacing:.02em}

/* TOP BUY 1.4 — compact field work, touch targets remain usable. */
[hidden]{display:none!important}
.field{position:relative;min-width:0;margin-top:6px}
.field>label{position:absolute;top:-7px;left:10px;z-index:1;background:var(--white);padding:0 4px;margin:0;max-width:calc(100% - 20px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:15px;font-size:11px;color:var(--muted)}
.field>input,.field>select,.field>textarea{width:100%;min-width:0;min-height:46px;padding:12px 12px 9px;border-radius:9px;background:var(--white);font-size:16px}
.field>textarea{min-height:74px;resize:vertical}.field:focus-within>label{color:var(--green)}
.required{color:#bf3147}.form-grid{gap:14px 10px}.spacer{height:12px}.panel{padding:18px;border-radius:16px}.panel-head{margin-bottom:14px}.panel h2{font-size:17px}.details{margin-top:14px}.details>summary{padding:10px 0}.details[open]>.form-grid{margin-top:8px}.page-head{margin-bottom:20px}.page-head h1{font-size:28px}
#toast{bottom:auto;top:max(12px,env(safe-area-inset-top));opacity:0;visibility:hidden;transform:translateX(-50%) translateY(-20px);padding:9px 15px;max-width:min(480px,90vw);font-size:12px;transition:opacity .18s,transform .18s;pointer-events:none}
#toast:empty{display:none}#toast.visible{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.home-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.home-intro h1{font-size:28px}.home-intro .hint{max-width:280px;text-align:right}
.launch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}
.launch-tile{position:relative;display:grid;grid-template-columns:42px 1fr;align-items:center;gap:4px 12px;min-height:91px;border:1px solid var(--border);background:var(--white);border-radius:16px;text-align:left;padding:16px}.launch-tile>.icon{grid-row:span 2;width:38px;height:38px;padding:8px;background:#e7eee8;border-radius:12px;color:var(--green)}.launch-tile strong{font-size:16px}.launch-tile span{font-size:11px;color:var(--muted)}.launch-tile:first-child{background:var(--green);color:white;border-color:var(--green)}.launch-tile:first-child span{color:#d8e5dc}.launch-tile:nth-child(2)>.icon,.launch-tile:nth-child(5)>.icon{background:#f2e5df;color:#9a665c}
.recent-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.recent-tile{min-width:0;text-align:left;background:var(--white);border:1px solid var(--border);border-radius:12px;overflow:hidden;padding:0 0 9px}.recent-tile img{width:100%;height:100px;object-fit:contain;background:#eeeae2}.recent-tile strong,.recent-tile span{display:block;margin:6px 8px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.recent-tile span{font-size:10px;color:var(--muted)}.compact-empty{display:flex;align-items:center;gap:14px;padding:22px;border:1px dashed #c9cfc4;border-radius:14px;font-size:12px;line-height:1.7;color:var(--muted)}
.capture-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.capture-heading h1{font-size:24px}.capture-context{margin-bottom:12px;padding:14px 14px 4px}.context-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.context-clients{position:relative;display:flex;align-items:center;text-align:left;min-width:0;border:1px solid var(--border);border-radius:9px;background:var(--white);margin-top:6px;padding:10px 12px;min-height:46px}.context-clients>span{position:absolute;top:-8px;left:10px;background:var(--white);font-size:11px;padding:0 4px;color:var(--muted)}.context-clients strong{font-size:14px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.context-clients .icon{width:16px}.context-links{display:flex;gap:16px;justify-content:space-between}.context-links .btn{font-size:11px;min-height:36px}.context-links .icon{width:15px;height:15px}#client-picker{padding-top:12px}#client-picker .check-grid{max-height:180px;overflow:auto;gap:7px}#client-picker .check-chip{min-height:44px;padding:8px 10px}#client-picker .hint{margin:6px 0 4px}
.capture-grid{grid-template-columns:minmax(260px,.85fr) minmax(0,1.35fr);align-items:start;gap:16px}.capture-aside{position:static;min-width:0}.capture-photos .panel-head{margin-bottom:8px}.photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.photo-actions .btn{font-size:12px;padding:10px 8px;min-height:44px}.photo-actions .icon{width:18px;height:18px}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(66px,1fr));gap:8px;margin:0 0 10px}.media-tile{width:auto;height:86px;border-radius:10px;min-width:0;overflow:hidden}.media-tile img{height:100%;width:100%;object-fit:contain;background:#efede5}.media-tile .main-tag{font-size:9px;padding:3px 5px;left:3px;bottom:3px}.remove-media{width:30px;height:30px;top:2px;right:2px}.remove-media .icon{width:16px;height:16px}
.recognize-strip{border-top:1px solid var(--border);margin-top:12px;padding-top:4px}.recognize-heading{display:flex;justify-content:space-between;align-items:center;gap:6px}.recognize-heading>span{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.recognize-heading .btn{font-size:10px;min-height:32px}.recognize-heading .icon{width:15px;height:15px}.recognize-strip .inline-actions>.btn:first-child{flex:1}.ocr-status:empty{display:none}.ocr-status{font-size:11px;line-height:1.5;margin:8px 0 0;overflow-wrap:anywhere}
.capture-options{margin-top:12px;padding:12px 16px}.capture-options>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;font-size:12px;min-height:28px}.capture-options>summary:after{content:'+';margin-left:auto}.capture-options[open]>summary:after{content:'−'}.capture-options>summary .icon{width:16px;height:16px}.options-body{padding-top:14px}.photo-roles{margin:6px 0}.photo-roles select{font-size:16px;min-height:44px}.photo-roles .hint{margin:8px 0}.product-details{scroll-margin-top:14px;min-width:0}.product-details:focus{outline:none}.product-details .hint{font-size:10px}.product-details textarea[name=description]{height:82px}.just-filled{animation:filled 3.5s ease-out}@keyframes filled{0%,55%{box-shadow:0 0 0 3px #a6c8af;border-radius:9px}100%{box-shadow:0 0 0 0 transparent}}
.provider-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.provider-option{border:1px solid var(--border);border-radius:12px;padding:15px 8px;text-align:center;min-height:74px}.provider-option strong{display:block;font-size:13px}.provider-option span{display:block;margin-top:7px;font-size:11px;color:var(--muted)}.provider-option.selected{background:var(--green-soft);border-color:var(--green)}.model-settings{margin-bottom:18px}.back-capture{margin-bottom:14px}.key-success{color:#2a7551}.key-error{color:#af3047}#key-status{font-size:13px;line-height:1.6;margin:14px 0;overflow-wrap:anywhere}#qwen-key-form>.hint{margin:14px 0 8px}
.item-image{height:120px}.item-body{padding:10px}.item-body h3{font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.item-meta{margin-top:7px}.item-grid{gap:12px}.save-bar{z-index:21}.save-actions .btn{min-height:44px}.page-capture{padding-bottom:90px}
@media(min-width:701px){.capture-options>.options-body{display:block}.capture-options:not([open])>:not(summary){display:block!important}.capture-options>summary:after{content:''}.recent-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1000px){.main{padding:16px 18px 104px}.topbar{margin-bottom:18px}.bottom-nav{height:calc(60px + env(safe-area-inset-bottom));padding:4px 8px calc(4px + env(safe-area-inset-bottom))}.save-bar{position:fixed;left:18px;right:18px;bottom:calc(60px + env(safe-area-inset-bottom));padding:8px 10px;margin:0;border-radius:12px 12px 0 0}.save-bar .draft-status{font-size:9px;max-width:50px}.save-actions{flex:1}.recent-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.capture-grid{grid-template-columns:1fr;gap:12px}.capture-aside>.panel{padding:12px}.capture-options{margin-top:10px}.home-intro{display:block}.home-intro h1{font-size:25px}.home-intro .hint{display:block;text-align:left;margin-top:5px;max-width:none}.main{padding:12px 12px 100px}.topbar{margin-bottom:14px}.mobile-status{display:none}.launch-grid{gap:10px;margin-bottom:20px}.launch-tile{min-height:84px;padding:12px;grid-template-columns:32px 1fr;gap:3px 9px;border-radius:13px}.launch-tile>.icon{width:32px;height:32px;padding:7px;border-radius:10px}.launch-tile strong{font-size:14px}.launch-tile span{font-size:10px}.recent-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.recent-tile img{height:90px}.panel{padding:14px}.capture-context{padding:12px 12px 3px}.context-links{gap:5px}.context-links .btn{font-size:10px}.context-links .icon{width:13px}.capture-heading{margin-bottom:8px}.capture-heading h1{font-size:23px}.capture-heading .btn{font-size:11px}.page-head h1{font-size:25px}.page-head .sub{font-size:11px}.form-grid{gap:13px 9px}.form-grid.three{gap:8px}.field input,.field select,.field textarea{padding:12px 10px 9px;font-size:16px}.field label{font-size:10px}.panel-head h2{font-size:15px}.panel-head{margin-bottom:12px}.media-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.media-tile{height:82px}.save-bar{left:8px;right:8px}.save-bar .draft-status{display:none}.save-actions .btn{font-size:12px;padding:10px 8px}.product-details .details>summary{font-size:12px}.modal-head{padding:12px 16px}.modal-head h2{font-size:20px}.modal-body{padding:16px}.ocr-review-row{padding:9px 0}.ocr-edit{margin:6px 0 2px}.modal-foot{gap:8px;flex-wrap:wrap}.modal-foot .btn{min-height:44px;padding:10px 12px}.provider-grid{gap:7px}.provider-option strong{font-size:12px}.item-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.item-image{height:100px}.item-body{padding:8px}.item-body h3{font-size:10px}.item-body .tag{font-size:9px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.item-meta{font-size:9px;gap:4px}.item-price{font-size:11px}.item-select{top:3px;left:3px}.item-media-count{font-size:9px}.item-media-count .icon{width:12px}.item-body .eyebrow{font-size:8px;overflow-wrap:anywhere}.settings-grid{grid-template-columns:1fr}.form-grid.three .field>label{left:5px;padding:0 3px;max-width:calc(100% - 10px)}}
@media(max-width:360px){.launch-tile{padding:10px 8px;gap:3px 6px}.launch-tile strong{font-size:13px}.context-links .btn{font-size:9px}.photo-actions .btn{font-size:11px}.provider-option strong{font-size:10px}}
/* The options drawer is secondary on a phone, always available beside the form on tablets. */
@media(max-width:700px){.capture-options:not([open]){display:none}.capture-options[open]{position:fixed;inset:90px 12px calc(68px + env(safe-area-inset-bottom));z-index:35;overflow:auto;box-shadow:0 0 0 120vmax #22382f55;margin:0;padding:18px;background:var(--white)}.capture-options[open]>summary{position:sticky;top:-18px;padding:12px 0;background:var(--white);z-index:1}.capture-options[open]>summary:after{content:'×';font-size:25px}.capture-options .options-body{padding-top:12px}.product-details{scroll-margin-top:12px}}
.load-more{display:flex;margin:18px auto}


.capture-backdrop{display:none}#qwen-key-form .form-grid>.field:first-child{grid-column:1/-1}
@media(max-width:700px){#capture-form:has(#capture-options[open])>.capture-backdrop{display:block;position:fixed;inset:0;background:#22382f55;z-index:34;width:100%;height:100%;cursor:default}.capture-options[open]{box-shadow:0 8px 30px #22382f33}.capture-context .field>label{background:var(--white)}}

.version-label{margin:-10px 0 14px;text-align:right}

/* TOP BUY 1.4.1 — quiet surfaces, crisp bilingual labels. */
:root{
  --ink:#303d39;--muted:#68716b;--green:#36594f;--green-soft:#e8efea;
  --paper:#f8f6f2;--white:#fffefa;--border:#e3e1d9;
  --field-border:#c8cdc5;--label:#5e6962;--icon:#69776e;
  --shadow:0 6px 24px #383c2f05;
  --font-ui:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
  font-family:var(--font-ui);line-height:1.5;
}
h1,h2.serif,.serif,.empty h3{font-family:var(--font-ui);font-weight:600;letter-spacing:-.025em}
h2,h3{letter-spacing:0}
.home-intro h1,.page-head h1{font-size:26px;line-height:1.3}
.capture-heading h1{font-size:23px;line-height:1.35}
.panel h2{font-weight:650;line-height:1.4}
.field>label,.context-clients>span{
  color:var(--label);font-size:11.5px;font-weight:600;letter-spacing:.01em;
  line-height:16px;top:-8px;
}
.field>input,.field>select,.field>textarea,.search-input,.context-clients,.photo-roles select,.ocr-edit{
  border-color:var(--field-border);color:var(--ink);
}
.field>input,.field>select,.field>textarea{font-size:16px;line-height:1.45}
input[type=number]{font-variant-numeric:tabular-nums}
input::placeholder,textarea::placeholder{color:#727970;opacity:1}
.field input:focus,.field select:focus,.field textarea:focus,.search-input:focus,.ocr-edit:focus{
  border-color:#6d8c7d;box-shadow:0 0 0 3px #36594f12;outline:none;
}
.field:focus-within>label{color:var(--green)}
.context-clients:focus-visible{outline:2px solid #6d8c7d;outline-offset:3px}
.btn{font-weight:600;letter-spacing:0;transition:background-color .15s,border-color .15s}
.btn.secondary{border-color:#d4d9d1;color:#42564b;background:var(--white)}
.btn:hover{filter:none;background:#2e4e45}
.btn.secondary:hover{background:#f0f3ee;border-color:#a3b1a6}
.btn.text:hover{background:transparent;color:#234c3d}
.btn.rose:hover{background:#e8d4cc}
.btn.danger:hover{background:#ecd8d1}
.btn:active:not(:disabled){filter:brightness(.95)}
.side-nav button,.bottom-nav button{color:var(--label)}
.side-nav button.active,.bottom-nav button.active{color:var(--green)}
.launch-tile>.icon,.launch-tile:nth-child(2)>.icon,.launch-tile:nth-child(5)>.icon{
  background:#edf0e9;color:var(--icon);
}
.launch-tile:first-child>.icon{background:#e7eee8;color:var(--green)}
.launch-tile strong{font-weight:600}
.launch-tile span{font-size:12px;line-height:1.4}
.launch-tile:first-child span{color:#edf4ed}
.hint,.field .hint,.product-details .hint{font-size:11.5px;line-height:1.6}
.context-links .btn,.recognize-heading .btn{font-size:11px}
.recognize-heading>span{font-size:11px;color:var(--muted)}
.tag,.pill-label{font-size:11px;color:#506455;background:#edf1e9}
.brand-caption{font-size:10px;letter-spacing:1.5px}
.media-tile .main-tag{
  left:4px;bottom:4px;max-width:calc(100% - 8px);padding:2px 6px;
  font-size:10px;font-weight:600;line-height:16px;letter-spacing:.015em;
  color:#344a3f;background:rgba(255,254,250,.88);
  border:1px solid rgba(255,255,255,.65);border-radius:5px;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  box-shadow:0 1px 3px #213a3012;pointer-events:none;
}
.media-tile .remove-media{background:rgba(255,254,250,.94);color:#4b5b51}
@media(max-width:700px){
  .home-intro h1,.page-head h1{font-size:24px}.capture-heading h1{font-size:22px}
  .launch-tile span{font-size:11px}.field>label,.context-clients>span{font-size:11px}
  .context-links .btn{font-size:11px}.panel-head h2{font-size:15px}
  .context-clients strong{font-size:15px}.item-body h3{font-size:11px}
  .item-meta{font-size:10px}.item-body .eyebrow{font-size:9px}
  .item-body .tag{font-size:10px}.photo-actions .btn{min-height:44px}
}
@media(max-width:360px){.context-links .btn{font-size:10px}}
@media(prefers-reduced-motion:reduce){.btn{transition:none}}

/* Batch controls share the existing compact form style. */
.batch-context{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:12px}
.batch-context>.btn{font-size:11px;min-height:44px;white-space:nowrap}
.batch-tag{margin-left:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.result-bar>.inline-actions{flex-wrap:wrap;justify-content:flex-end}
.page-export .form-grid+.hint{margin-top:12px}
#export-filter-error:empty{display:none}
.capture-context#capture-context{padding:0}
#capture-context>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 10px;list-style:none;cursor:pointer;border-radius:16px;font-size:11px;color:var(--ink)}
#capture-context>summary::-webkit-details-marker{display:none}
#capture-context>summary:focus-visible{outline:2px solid #6d8c7d;outline-offset:2px}
.context-compact{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:10px;align-items:center;flex:1;min-width:0}
.context-place,.context-people{display:flex;align-items:center;gap:5px;min-width:0;line-height:20px}
.context-place>span,.context-people>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.context-people{border-left:1px solid var(--border);padding-left:9px}
.context-people b{font-weight:600}
#capture-context-summary .icon{width:14px;height:14px;flex-shrink:0;color:var(--green)}
#capture-context-summary .context-fold-arrow{transform:rotate(90deg)}
#capture-context[open]>summary .context-fold-arrow{transform:rotate(-90deg)}
#capture-context[open]>summary{border-bottom:1px solid var(--border);border-radius:16px 16px 0 0;margin-bottom:12px}
.context-fields{padding:0 12px 4px}
.context-compact.many-clients{grid-template-columns:minmax(0,1fr)}
.many-clients .context-people{padding-left:0;border:0}
.many-clients .context-people>span{white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
@media(min-width:701px){#capture-context>summary{font-size:12px}.context-compact.many-clients{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.many-clients .context-people{padding-left:9px;border-left:1px solid var(--border)}}
@media(max-width:700px){.home-intro>.text-link{float:right;margin-top:-27px}.result-bar{flex-wrap:wrap;gap:8px}.result-bar>.inline-actions{gap:6px}.result-bar>.inline-actions .btn{font-size:11px;padding:9px 10px}.batch-context{gap:8px}.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
