
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#111114;background:#eaeaee;font-synthesis:none;--ink:#111114;--muted:#96969e;--line:#ececef;--paper:#fff;--bg:#f5f5f7;--green:#111114;--soft:#f2f2f5;--accent:#bcf46b}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:0;background:none;cursor:pointer}button:disabled{opacity:.3;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid #161616;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #a4a4aa;outline-offset:2px}svg{display:block;width:21px;height:21px}h1,h2,h3,p{margin:0}small{font-size:11px}.hidden{display:none!important}.sidebar,.hero-art,.breadcrumb{display:none}.app-shell{position:relative;max-width:460px;min-height:100dvh;margin:0 auto;background:linear-gradient(140deg,#f8f8fa 0%,#f1f1f4 65%,#f7f7f9 100%);overflow:hidden}.topbar{height:77px;padding:18px 26px 9px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:750;letter-spacing:-.7px}.brand>span:last-child{padding-bottom:2px}.wordmark{font-weight:800}.wordmark small{display:block}.wordmark-icon{width:42px}.wordmark-icon svg{width:42px;height:28px}.topbar-right{display:flex;gap:9px}.round-button{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:#ffffffce;border:1px solid #ffffff;box-shadow:0 3px 10px #29293403}.round-button svg{width:19px;height:19px}.round-button:hover{background:#fff;box-shadow:0 4px 18px #1919200a}main{padding:12px 25px 110px}.hero{position:relative}.eyebrow{display:flex;gap:5px;font-size:8px;letter-spacing:1.7px;color:#a1a1a9;font-weight:550}.tiny-line{display:none}.hero h1{font-size:29px;line-height:1.4;font-weight:720;letter-spacing:-1.2px;margin-top:6px}.hero-copy>p{font-size:12px;color:#9999a1;margin-top:5px;letter-spacing:.2px}.search-box{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #fff;border-radius:18px;padding:0 15px;height:48px;margin-top:20px;box-shadow:0 3px 14px #26262f02}.search-box>span{color:#34343a}.search-box>span svg{width:19px;height:19px}.search-box input{flex:1;min-width:0;border:0;background:none;padding:10px 0;outline:none;font-size:12px;line-height:25px}.search-box input::placeholder{color:#aaaab2}.search-box input::-webkit-search-cancel-button{display:none}.search-box:focus-within{box-shadow:0 0 0 1.5px #b7b7bf}.search-box kbd{display:none}.icon-button{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;color:#8a8a93}.icon-button:hover{background:#f0f0f4}.icon-button svg{width:17px;height:17px}.quick-search{display:none}.stats{display:grid;grid-template-columns:repeat(3,1fr);padding:17px 0 15px;margin-top:18px;border-radius:23px;background:linear-gradient(180deg,#e6e6e9 0%,#eeeef1 25%,#f7f7f900 100%);box-shadow:inset 0 1px 4px #22223504}.stat{display:flex;justify-content:center;align-items:center;flex-direction:column;padding:0;gap:0;position:relative;text-align:center}.stat:not(:last-child):after{content:"";position:absolute;right:0;top:11px;width:1px;height:24px;background:linear-gradient(#dcdce200,#d6d6dd,#dcdce200)}.stat-value{font-size:23px;line-height:1.25;font-weight:650;letter-spacing:-1px}.stat-label{display:block;font-size:10px;color:#8f8f98;margin-top:5px}.stat-value small{display:none}.stat-icon,.stat-arrow{display:none}.portals{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.portal{position:relative;border-radius:27px;background:#fff;border:1px solid white;min-height:158px;padding:17px 17px 14px;text-align:left;overflow:hidden;transition:transform .2s,box-shadow .2s}.portal:hover{transform:translateY(-2px);box-shadow:0 7px 22px #28282e07}.portal-top{display:flex;justify-content:space-between;align-items:center;font-size:8px;color:#a1a1a9;letter-spacing:1.1px}.portal-top svg{width:13px;height:13px;color:#b4b4bb}.portal-art{height:68px;display:flex;align-items:center;justify-content:center;position:relative}.portal-art>svg{width:91px;height:70px}.portal-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:7px}.portal h2{font-size:15px;font-weight:650;letter-spacing:-.3px}.portal small{font-size:9px;color:#aaaab1}.portal-caption{margin-top:3px;font-size:9px;color:#a2a2ab}.accent-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#a9e964;margin-right:4px;box-shadow:0 0 0 3px #c7f59a33}.portal-tag{position:absolute;top:58px;right:15px;font-size:8px;background:#dafaad;color:#44582d;border-radius:20px;padding:3px 7px;transform:rotate(7deg)}.medicine-feature{grid-column:1/-1;min-height:129px;padding:19px 22px;display:flex;align-items:center;gap:25px}.medicine-feature .portal-art{width:102px;flex-shrink:0;height:82px}.medicine-feature h2{font-size:18px;letter-spacing:-.6px}.medicine-feature p{font-size:10px;color:#a0a0a8;margin-top:6px}.medicine-feature .mini-tag{display:inline-block;font-size:9px;background:#d8f8ae;padding:3px 10px;border-radius:20px;margin-top:10px}.notice{display:flex;align-items:center;gap:9px;padding:12px 14px;margin-top:16px;border:1px solid #fff;background:#ffffff85;border-radius:18px;font-size:10px;color:#8a8a94;line-height:1.7}.notice>span{color:#414148;display:grid;place-items:center;background:#f2f2f5;border-radius:10px;height:30px;width:30px;flex-shrink:0}.notice>span svg{width:15px;height:15px}.notice p{flex:1}.notice button{display:flex;gap:4px;align-items:center;padding:0;font-size:10px;white-space:nowrap;color:#33333a}.notice button svg{width:12px;height:12px}#workspace{margin-top:28px}.section-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:16px}.section-title{display:flex;align-items:baseline;gap:8px}.section-title h2{font-size:16px;font-weight:650;letter-spacing:-.4px}.count-label{font-size:9px;color:#a3a3ac;white-space:nowrap}.section-sub{font-size:10px;color:#a2a2ab;line-height:1.7;margin-top:5px}.view-controls{display:flex;align-items:center}.sort-select{padding:4px 1px;font-size:9px;border:0;background:none;color:#9797a0;max-width:90px}.categories{display:flex;gap:6px;overflow:auto;scrollbar-width:none;margin:0 -25px 15px;padding:0 25px 2px}.category{display:flex;gap:4px;align-items:center;border-radius:20px;padding:7px 12px;white-space:nowrap;font-size:10px;color:#95959f}.category svg{display:none}.category.active{background:#101013;color:white}.category:hover:not(.active){background:#e8e8ed}.pill-count{font-size:8px;opacity:.6}.filters{display:flex;justify-content:space-between;align-items:center;gap:5px;margin:0 0 13px}.filter-tabs{display:flex;gap:14px}.filter-tabs button{font-size:9px;color:#aaaab2;padding:5px 0}.filter-tabs button.active{color:#111114;font-weight:600}.filters>.count-label{display:none}.items-grid{display:flex;flex-direction:column;gap:10px}.item-card{position:relative;display:flex;align-items:center;gap:13px;text-align:left;background:#fff;padding:14px 15px;border-radius:22px;border:1px solid #ffffff;transition:transform .2s,box-shadow .2s;min-width:0}.item-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #24242a08}.item-visual{width:58px;height:62px;flex-shrink:0;background:linear-gradient(140deg,#f5f5f7,#f0f0f3);border-radius:16px;display:grid;place-items:center;overflow:hidden}.item-visual svg{width:67px;height:61px}.item-visual img{height:100%;width:100%;object-fit:cover}.item-copy{flex:1;min-width:0}.item-title{font-size:13px;font-weight:600;letter-spacing:-.2px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.item-spec{font-size:9px;color:#b2b2ba;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.location-line{display:flex;align-items:center;gap:3px;font-size:9px;color:#92929d;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.location-line svg{width:10px;height:10px;flex-shrink:0}.location-line span{overflow:hidden;text-overflow:ellipsis}.item-right{display:flex;align-items:flex-end;flex-direction:column;gap:7px;align-self:stretch;justify-content:center;flex-shrink:0}.qty{font-size:17px;font-weight:600;letter-spacing:-.6px;white-space:nowrap}.qty small{font-size:9px;color:#9d9da5;font-weight:400;margin-left:3px;letter-spacing:0}.stock-badge{font-size:8px;color:#8e8e97;background:#f4f4f6;padding:2px 6px;border-radius:20px;white-space:nowrap}.stock-badge.expiry{background:#d8f8ad;color:#4a5f2f}.stock-badge.expired{background:#ededf0;color:#72727b}.medicine-note{font-size:9px;color:#9b9ba5;margin-bottom:14px;line-height:1.8}.search-summary{font-size:10px;line-height:1.9;padding:13px 15px;background:#ffffffa0;border-radius:17px;margin:0 0 13px;color:#9a9aa3}.search-summary strong{font-weight:600;color:#2f2f36}.searching .stats,.searching .portals,.searching #notice-area{display:none}.searching #workspace{margin-top:25px}.page-footer{padding:28px 0 0;text-align:center;font-size:9px;color:#c4c4cc;letter-spacing:1px}.footer-demo{display:block;font-size:8px;letter-spacing:0;margin-top:7px}.bottom-dock{position:fixed;z-index:30;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(410px,calc(100% - 38px));display:flex;align-items:center;gap:12px;pointer-events:none}.mobile-nav{display:flex;align-items:center;justify-content:space-around;padding:12px 8px;width:100%;height:64px;background:#ffffffbd;border:1px solid #ffffffd9;border-radius:40px;box-shadow:0 8px 28px #2323370d,inset 0 1px 0 #ffffff;backdrop-filter:blur(22px);pointer-events:auto}.mobile-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:#b7b7bf;width:48px;min-height:42px}.mobile-nav svg{width:21px;height:21px;stroke-width:1.7}.mobile-nav small{font-size:7px;line-height:1.2}.mobile-nav button.active{color:#111114}.mobile-nav button.active svg{stroke-width:2.3}.floating-add{pointer-events:auto;display:grid;place-items:center;width:62px;height:62px;flex-shrink:0;border-radius:50%;background:#121215;color:#fff;box-shadow:0 8px 25px #18182116;border:1px solid #313136}.floating-add svg{width:28px;height:28px;stroke-width:1.7}.floating-add:hover{background:#303036}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:30px;padding:11px 18px;font-size:12px;min-height:42px;transition:background .2s;white-space:nowrap}.button svg{width:16px;height:16px}.primary{background:#111114;color:#fff}.primary:hover{background:#333339}.secondary{background:#f2f2f5;color:#62626d;border:1px solid #ededf1}.text-button{font-size:10px;color:#73737e;padding:0;text-decoration:underline;text-underline-offset:3px}.location-grid{display:flex;flex-direction:column;gap:14px}.room-card{background:#fff;border:1px solid #fff;border-radius:27px;padding:20px}.room-card h3{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;margin-bottom:15px}.room-card h3>span{display:grid;place-items:center;background:#f4f4f7;width:33px;height:33px;border-radius:11px}.room-card h3>span svg{height:18px;width:18px}.room-card h3 small{margin-left:auto;font-size:9px;color:#acacb5;font-weight:400}.room-location{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;padding:13px 0;border-top:1px solid #f4f4f6}.room-location strong{font-weight:500;font-size:12px}.room-location p{font-size:9px;color:#a3a3ae;margin-top:4px}.room-location>span{display:flex;align-items:center;gap:5px;font-size:9px;color:#a7a7b0}.room-location svg{width:11px;height:11px}.location-chip{display:flex;align-items:center;gap:4px;font-size:8px;background:#e9e9ee;padding:3px 6px;border-radius:10px;max-width:35%}.location-chip button{padding:0}.location-chip svg{height:11px;width:11px}.shopping-row{display:flex;gap:10px;align-items:center;background:#fff;border-radius:23px;padding:15px 12px;margin-bottom:10px}.shopping-art{height:55px;width:48px;border-radius:13px;background:#f4f4f6;display:grid;place-items:center;overflow:hidden;flex-shrink:0}.shopping-art svg{height:50px;width:58px}.shopping-art img{width:100%;height:100%;object-fit:cover}.shopping-copy{flex:1;min-width:0}.shopping-copy strong{font-size:12px;font-weight:600}.shopping-copy p{font-size:8px;color:#b1b1ba;margin-top:3px}.shopping-copy small{font-size:8px;color:#93939f;line-height:1.6;display:block;margin-top:5px}.shopping-row .button{font-size:9px;padding:7px 10px;min-height:31px}.shopping-row .icon-button{width:19px;height:27px}.shopping-row .icon-button svg{width:13px;height:13px}.shopping-tip{font-size:9px;line-height:1.9;color:#a7a7b1;padding:10px 2px}.empty-state{background:#ffffff9e;border:1px dashed #d8d8e1;border-radius:25px;padding:36px 20px;text-align:center}.empty-state h3{font-size:15px}.empty-state p{font-size:10px;color:#a3a3ac;margin:8px 0 20px}.empty-state>span{color:#9898a3}.toast{position:fixed;bottom:105px;left:50%;max-width:calc(100% - 50px);width:max-content;text-align:center;padding:13px 21px;border-radius:30px;background:#19191ee8;backdrop-filter:blur(18px);color:#fff;box-shadow:0 7px 30px #14142115;transform:translate(-50%,10px);font-size:11px;z-index:100;opacity:0;transition:.2s;pointer-events:none}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{padding:0;border:1px solid white;background:#f6f6f8;color:#111114;box-shadow:0 20px 100px #1717281a}dialog::backdrop{background:#3c3c492e;backdrop-filter:blur(8px)}dialog[open]{animation:slideIn .22s ease-out}body:has(dialog[open]){overflow:hidden}.form-dialog{width:min(460px,100%);max-width:100%;max-height:94dvh;border-radius:32px 32px 0 0;margin:auto auto 0}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:21px 25px 17px;border-bottom:1px solid #efeff3;background:#f8f8fa;position:sticky;top:0;z-index:5}.dialog-header h2{font-size:22px;font-weight:650;letter-spacing:-.5px;margin-top:5px}.dialog-header>.eyebrow{font-size:12px;color:#73737f;letter-spacing:0}.dialog-header .icon-button{background:#fff;height:33px;width:33px}.form-body{padding:22px 25px;display:flex;flex-direction:column;gap:17px}.field{display:flex;flex-direction:column;gap:7px;font-size:10px;color:#82828e;flex:1;min-width:0}.field-row{display:flex;gap:11px}.field.grow{flex:1.65}.required{display:contents;color:#565661}.field input,.field select,.field textarea{border:1px solid #ededf2;background:#fff;border-radius:13px;padding:11px 12px;width:100%;min-height:42px;font-size:12px}.field input::placeholder,.field textarea::placeholder{color:#bcbcc5;font-size:10px}.field textarea{resize:vertical}.photo-line{display:flex;gap:14px;align-items:center;margin-bottom:3px}.photo-upload{height:78px;width:80px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:#fff;border:1px dashed #cfcfd9;border-radius:20px;position:relative;overflow:hidden;flex-shrink:0;font-size:8px;color:#92929e}.photo-upload>input{position:absolute;inset:0;opacity:0;width:100%;height:100%;z-index:2;cursor:pointer}.photo-upload svg{height:22px;width:22px}.photo-upload img{height:100%;width:100%;object-fit:cover}.photo-line strong{font-size:11px;font-weight:550}.photo-line p{font-size:9px;color:#a4a4af;margin-top:5px;line-height:1.8}.photo-line .text-button{margin-top:4px}.form-section-label{font-size:12px;display:flex;align-items:center;gap:6px;border-top:1px solid #e8e8ee;padding-top:18px}.form-section-label svg{height:15px;width:15px}.form-hint{font-size:9px;color:#a5a5b0;line-height:1.8}.dialog-actions{padding:16px 25px calc(16px + env(safe-area-inset-bottom));display:flex;gap:12px;background:#f8f8fa;border-top:1px solid #ededf2;position:sticky;bottom:0;z-index:5}.dialog-actions .primary{flex:1}.dialog-actions .secondary{min-width:84px;background:#fff}.duplicate-check{border-radius:18px;background:#e4f6d1;color:#5a6e46;font-size:11px;padding:13px;line-height:1.8}.duplicate-check small{display:block;font-size:9px;color:#829074;margin-top:4px}.side-dialog{width:min(460px,100%);max-width:100%;height:100dvh;max-height:100dvh;margin:0 auto;border-radius:0}.detail-art{height:210px;display:grid;place-items:center;background:radial-gradient(ellipse at center,#fff,#f1f1f5)}.detail-art svg{height:180px;width:230px}.detail-art img{max-width:100%;height:210px;object-fit:contain}.detail-body{padding:23px 27px 35px}.detail-category{display:flex;gap:8px;align-items:center;font-size:9px;color:#a0a0ac}.detail-body h2{font-size:27px;font-weight:650;letter-spacing:-1px;margin-top:7px}.detail-spec{font-size:11px;color:#a2a2ad;margin-top:4px}.detail-location{background:#fff;border:1px solid #fff;border-radius:24px;padding:19px 20px;margin-top:24px}.detail-location label{display:flex;align-items:center;gap:5px;font-size:9px;color:#a4a4b0;margin-bottom:9px}.detail-location label svg{height:12px;width:12px}.detail-location strong{font-size:15px;font-weight:550}.detail-location p{font-size:11px;color:#9d9daa;margin-top:5px}.detail-quantity{display:flex;align-items:center;justify-content:space-between;padding:24px 0 21px;border-bottom:1px solid #e7e7ed}.detail-quantity label{font-size:12px;color:#777783}.quantity-controls{display:flex;align-items:center;gap:18px}.quantity-controls button{border-radius:50%;background:white;width:32px;height:32px;display:grid;place-items:center;font-size:19px}.quantity-controls strong{font-size:23px;font-weight:600;letter-spacing:-.5px}.quantity-controls strong small{font-size:10px;font-weight:400;color:#aaaab4;margin-left:3px}.detail-metadata{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-top:22px}.detail-metadata label{font-size:9px;color:#ababbb}.detail-metadata p{font-size:12px;color:#6b6b79;margin-top:6px}.detail-note{font-size:11px;line-height:1.9;color:#9a9aa6;margin-top:20px}.detail-note.medicine{font-size:9px}.detail-buttons{display:flex;gap:9px;margin-top:26px}.detail-buttons .button{flex:1;padding:11px 10px;font-size:11px}.detail-bottom{display:flex;justify-content:space-between;font-size:9px;color:#b8b8c1;border-top:1px solid #eaeaef;padding-top:18px;margin-top:25px}.delete-button{font-size:9px;color:#9b9baa}.remove-confirm{font-size:11px;background:#ededf2;border-radius:16px;padding:15px;margin-top:15px}.remove-confirm>div{display:flex;gap:10px;margin-top:12px}.remove-confirm .button{font-size:11px;min-height:33px}.danger{background:#33333a;color:white}.medicine-only #portals{margin-top:20px}.locations-view #stats,.shopping-view #stats,.locations-view #portals,.shopping-view #portals{display:none}.locations-view #workspace,.shopping-view #workspace{margin-top:27px}
@media(min-width:600px){body{padding:30px 0}.app-shell{border-radius:38px;border:1px solid #fff;box-shadow:0 20px 100px #3333490c;min-height:calc(100dvh - 60px)}.topbar{padding-top:20px;height:82px}.bottom-dock{bottom:28px}.form-dialog{margin:auto;border-radius:30px;max-height:90dvh}.side-dialog{height:min(930px,94dvh);max-height:94dvh;margin:auto;border-radius:32px}.hero h1{font-size:31px}.toast{bottom:110px}}
@media(max-width:350px){main{padding:8px 19px 110px}.topbar{padding-left:20px;padding-right:20px}.hero h1{font-size:27px}.portals{gap:10px}.portal{padding:14px;min-height:150px;border-radius:24px}.portal h2{font-size:14px}.portal small{font-size:8px}.portal-tag{right:9px;font-size:7px}.stats{margin-top:16px;padding-top:15px}.notice{padding:10px;font-size:9px;gap:7px}.notice button{font-size:9px}.notice>span{height:26px;width:26px}.categories{margin-left:-19px;margin-right:-19px;padding-left:19px;padding-right:19px}.item-card{gap:10px;padding:12px;border-radius:20px}.item-title{font-size:12px}.item-visual{width:50px;height:57px}.item-visual svg{width:59px;height:55px}.item-spec,.location-line{font-size:8px}.qty{font-size:16px}.qty small{font-size:8px}.stock-badge{font-size:7px;padding:2px 5px}.portal-caption{font-size:8px}.medicine-feature{min-height:125px;gap:15px}.medicine-feature h2{font-size:17px}.medicine-feature .portal-art{width:85px}.bottom-dock{gap:9px;width:calc(100% - 34px);bottom:17px}.mobile-nav{height:59px;padding:9px 5px}.mobile-nav button{width:40px}.floating-add{width:56px;height:56px}.shopping-row{gap:8px;padding:12px 10px}.shopping-art{width:41px}.shopping-copy strong{font-size:11px}.shopping-row .button{font-size:8px;padding:6px 8px}.form-body{padding:20px}.dialog-header{padding-left:20px;padding-right:20px}.dialog-actions{padding-left:20px;padding-right:20px}.detail-body{padding:22px}}
@keyframes slideIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Photo-first, two-field recording flow. */
.simple-app .prototype-note{color:#b1b1bc;font-size:9px;border:1px solid #e7e7ed;border-radius:20px;padding:3px 9px}.simple-app main{padding-bottom:110px}.simple-app .hero h1{font-size:29px;letter-spacing:-1px}.simple-app .hero-copy>p{font-size:11px}.capture-intro{margin-top:21px}.capture-card{position:relative;display:flex;align-items:center;gap:13px;min-height:112px;padding:22px 19px;background:#fff;border:1px solid white;border-radius:28px;cursor:pointer;overflow:hidden}.capture-card>input,.camera-add>input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}.capture-camera{display:grid;place-items:center;width:48px;height:48px;background:#111114;color:white;border-radius:17px;flex-shrink:0}.capture-camera svg{width:23px;height:23px}.capture-card h2{font-size:17px;font-weight:650;letter-spacing:-.5px}.capture-card p{font-size:9px;color:#a3a3af;margin-top:6px;white-space:nowrap}.capture-plus{margin-left:auto;color:#bebec9}.capture-plus svg{width:18px;height:18px}.manual-entry{display:flex;gap:3px;align-items:center;justify-content:center;width:100%;font-size:9px;color:#adadba;padding:13px 0 0}.manual-entry svg{width:10px;height:10px}.simple-app #workspace{margin-top:30px}.simple-app .section-top{margin-bottom:15px}.simple-app .section-title h2{font-size:15px}.simple-app .section-title .count-label{font-size:9px}.simple-app .item-card{min-height:87px;border-radius:24px;padding:13px 15px;gap:14px}.simple-app .item-title{font-size:14px;font-weight:550}.simple-app .location-line{font-size:10px;line-height:1.7;margin-top:8px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#a5a5b0}.simple-app .item-visual{height:57px;width:57px;border-radius:16px}.simple-app .item-right{justify-content:center;max-width:70px}.simple-app .item-right>svg{width:13px;height:13px;color:#cacad3}.simple-app .page-footer{font-size:8px;padding-top:27px;letter-spacing:0}.simple-dock{width:244px;gap:11px}.simple-dock .mobile-nav{height:61px;padding:8px 13px;gap:8px}.simple-dock .mobile-nav button{width:55px;gap:4px}.simple-dock .mobile-nav small{font-size:8px}.simple-dock .floating-add{height:59px;width:59px;position:relative;overflow:hidden;cursor:pointer}.simple-dock .floating-add svg{width:23px;height:23px}.searching .capture-intro{display:none}.simple-form{gap:20px}.simple-form .field{font-size:11px;color:#757584;gap:9px}.simple-form .field input{font-size:13px;min-height:48px;border-radius:15px}.simple-photo{width:100%;height:156px;border:1px dashed #d0d0db;border-radius:23px;gap:10px;background:#fff}.simple-photo svg{width:29px;height:29px;color:#9f9fad}.simple-photo>span{font-size:10px}.simple-photo img{object-fit:contain;width:100%;height:156px}.simple-form>#remove-photo{align-self:center;margin-top:-13px;font-size:9px}.simple-category{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#81818f}.simple-category select{border:1px solid #e5e5ed;background:white;border-radius:24px;padding:7px 14px;font-size:11px;min-width:108px}.optional-fields{padding-top:16px;border-top:1px solid #e5e5ec;color:#aaaab8;font-size:10px}.optional-fields summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none}.optional-fields summary::-webkit-details-marker{display:none}.optional-fields[open] summary>span{transform:rotate(45deg)}.optional-body{display:flex;flex-direction:column;gap:15px;padding-top:20px}.optional-body .field{font-size:10px}.simple-form .duplicate-check{font-size:10px;padding:12px 14px}.simple-form .duplicate-check small{font-size:9px}.simple-detail-location{padding:23px;background:#fff;border-radius:26px;margin-top:24px}.simple-detail-location small{font-size:10px;color:#a6a6b4}.simple-detail-location p{font-size:16px;line-height:1.8;margin-top:8px;color:#343440}.detail-body .simple-detail-edit{margin-top:26px;display:flex;width:100%}.simple-expiry{font-size:11px;color:#8e8e9f;margin-top:18px;padding:12px 16px;background:#fff;border-radius:18px}.simple-expiry .stock-badge{margin-left:8px}.simple-detail-meta{font-size:10px;line-height:1.9;color:#a7a7b5;margin-top:18px}.medicine-simple-note{font-size:9px;color:#a7a7b6;margin:12px 0 0;line-height:1.9}.simple-medicine-head{display:flex;align-items:center;gap:7px}.simple-medicine-head .stock-badge{font-size:8px}.capture-intro .capture-card:focus-within,.camera-add:focus-within{outline:2px solid #a7a7b4;outline-offset:3px}
@media(max-width:350px){.simple-app .hero h1{font-size:27px}.capture-card{padding:19px 15px;gap:11px;min-height:106px;border-radius:25px}.capture-camera{width:42px;height:44px;border-radius:15px}.capture-card h2{font-size:16px}.capture-card p{font-size:8px}.simple-app .item-card{gap:11px;padding:12px;min-height:82px}.simple-app .item-title{font-size:13px}.simple-app .location-line{font-size:9px}.simple-app .item-visual{width:49px;height:53px}.simple-dock{width:225px}.simple-dock .mobile-nav{padding:8px 9px}.simple-dock .floating-add{height:56px;width:56px}}

/* Separate registration from lookup, with a reusable location selector. */
#registration-page .hero h1,#find-page .hero h1{font-size:28px;line-height:1.45;font-weight:700;letter-spacing:-1px;margin-top:7px}.intro-description{font-size:11px;line-height:1.9;color:#9999a6;margin-top:6px}.register-visual{height:170px;display:grid;place-items:center;padding-top:14px}.register-visual svg{width:190px;height:150px}.register-note{display:flex;align-items:center;justify-content:center;gap:5px;color:#b3b3be;font-size:9px;margin:27px 0 0}.register-note svg{width:13px;height:13px}#registration-page .capture-intro{margin-top:13px}.two-page-dock{width:222px;bottom:max(22px,env(safe-area-inset-bottom))}.two-page-dock .mobile-nav{height:63px;padding:7px 18px}.two-page-dock .mobile-nav button{width:65px;gap:4px}.two-page-dock .mobile-nav small{font-size:9px}.two-page-dock .mobile-nav button.active{color:#111114}.find-modes{display:flex;gap:5px;background:#eaeaef;border:1px solid #e8e8ee;border-radius:28px;padding:5px;margin-top:23px}.find-modes button{flex:1;min-height:37px;font-size:11px;border-radius:22px;color:#9898a5}.find-modes button.active{background:#111114;color:#fff;box-shadow:0 3px 8px #15151c09}.find-modes button:not(.active):hover{background:#f1f1f5}#lookup-form{margin-top:17px}.lookup-categories{display:flex;align-items:center;gap:15px;margin:15px 3px 0}.lookup-categories button{font-size:10px;color:#aaaab6;padding:5px 0;border-bottom:1px solid transparent}.lookup-categories button.active{color:#202029;border-bottom-color:#202029}.expiry-ranges{display:flex;gap:6px;flex-wrap:wrap;margin:17px 0 0}.expiry-ranges button{font-size:10px;color:#8f8f9e;background:#fff;border-radius:18px;padding:7px 12px;border:1px solid #eeeef3}.expiry-ranges button.active{color:#1f1f28;background:#e0f6be;border-color:#e0f6be}.expiry-help{font-size:9px;color:#aaaab7;margin:10px 2px 0;line-height:1.8}#find-results{margin-top:23px}#find-results .section-top{margin-bottom:14px}#find-results .section-title h2{font-size:14px}.find-result-note{font-size:9px;color:#b2b2bd;margin-top:16px;line-height:1.9}.saved-places{display:flex;flex-direction:column;gap:10px}.saved-place{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border-radius:24px;background:#fff;padding:18px 16px;min-height:88px}.saved-place-icon{height:43px;width:43px;display:grid;place-items:center;background:#f3f3f7;border-radius:15px;flex-shrink:0}.saved-place-icon svg{height:20px;width:20px}.saved-place-copy{flex:1;min-width:0}.saved-place strong{font-size:12px;font-weight:550;line-height:1.8}.saved-place p{font-size:10px;color:#a4a4b2;line-height:1.8;margin-top:3px}.saved-place-count{display:flex;align-items:center;gap:5px;white-space:nowrap;color:#a7a7b6;font-size:9px}.saved-place-count svg{height:12px;width:12px}.place-back{display:inline-flex;align-items:center;gap:5px;color:#a1a1b0;font-size:10px;padding:0;margin-bottom:13px}.place-back svg{transform:rotate(180deg);height:12px;width:12px}.selected-place-label{font-size:11px;font-weight:550;line-height:1.9;color:#69697a;margin-bottom:17px;background:#ffffff8c;border-radius:17px;padding:12px 15px}.new-location-area{background:#ededf3;border:1px solid #e7e7ef;border-radius:20px;padding:14px 15px;margin-top:-7px}.new-location-area p{font-size:9px;line-height:1.9;color:#a2a2b2;margin-top:8px}.new-location-area .field{font-size:10px}.new-location-area .field input{font-size:11px!important}.simple-form .field select{font-size:12px;min-height:48px;border-radius:15px;background:#fff;color:#353544}.field-optional{font-size:9px;color:#b8b8c5;display:contents}.location-empty-help{font-size:10px;line-height:1.9;color:#a1a1b1}.expiry-date-line{font-size:9px;color:#a1a1b0;margin-top:6px}.find-page-active .page-footer{padding-top:28px}.register-page-active .page-footer{padding-top:38px}.find-modes button:focus-visible,.lookup-categories button:focus-visible{outline:2px solid #b5b5c2;outline-offset:2px}
@media(max-width:350px){#registration-page .hero h1,#find-page .hero h1{font-size:26px}.intro-description{font-size:10px}.register-visual{height:150px}.register-visual svg{width:165px;height:137px}.register-note{font-size:8px}.find-modes{margin-top:20px}.find-modes button{font-size:10px;min-height:35px}.lookup-categories{gap:14px}.saved-place{padding:16px 13px;gap:10px}.saved-place strong{font-size:11px}.saved-place p{font-size:9px}.saved-place-icon{height:38px;width:38px}.expiry-ranges button{font-size:9px;padding:6px 10px}.two-page-dock{width:212px}}

.boot-screen{min-height:100dvh;display:grid;place-items:center;color:#a4a4b0;font-size:12px}.auth-shell{max-width:460px;margin:0 auto;min-height:100dvh;padding:43px 30px;background:linear-gradient(145deg,#f9f9fb,#f1f1f5);border:1px solid white}.auth-brand{display:flex;flex-direction:column;gap:5px;margin-bottom:40px}.auth-brand>span{font-size:22px;font-weight:750;letter-spacing:-1px}.auth-brand small{font-size:7px;letter-spacing:1.8px;color:#acacba}.auth-shell h1{font-size:34px;line-height:1.5;letter-spacing:-1.5px;font-weight:700}.auth-intro{font-size:11px;color:#a4a4b0;margin-top:14px;line-height:1.9}.auth-tabs{display:flex;gap:5px;background:#e9e9ef;padding:5px;border-radius:25px;margin-top:33px}.auth-tabs button{flex:1;border-radius:21px;padding:9px;color:#a1a1af;font-size:12px}.auth-tabs button.active{background:#111114;color:white}.auth-shell form{display:flex;flex-direction:column;gap:19px;margin-top:24px}.auth-shell .field{font-size:11px;color:#8e8e9e}.auth-shell input{min-height:47px;background:white;font-size:13px;border-radius:16px}.auth-shell .button{width:100%;min-height:46px}.auth-error{font-size:11px;color:#a26f65;line-height:1.8;min-height:0}.auth-error:empty{display:none}.auth-note{font-size:9px;color:#b7b7c4;line-height:2;text-align:center;margin-top:26px}.household-trigger{display:flex;align-items:center;gap:4px;max-width:155px;border-radius:20px;background:#ffffffcc;padding:7px 10px;font-size:10px;color:#9292a3;border:1px solid #ebebf2}.household-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.household-trigger svg{width:11px;height:11px;transform:rotate(90deg);flex-shrink:0}.family-account{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#a4a4b4}.family-account .text-button{font-size:10px}.household-list{display:flex;flex-direction:column;gap:8px}.household-option{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #eaeaef;padding:14px 15px;border-radius:19px;text-align:left}.household-option.current{border-color:#34343e}.household-option>span{flex:1;min-width:0}.household-option strong{display:block;font-size:13px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.household-option small{font-size:9px;color:#b1b1c0;display:block;margin-top:4px}.household-option>small{color:#707080;font-size:9px;flex-shrink:0}.family-section{padding-top:19px;border-top:1px solid #e6e6ed}.family-section h3{font-size:13px;font-weight:550;margin-bottom:13px}.family-section-heading{display:flex;align-items:baseline;justify-content:space-between}.family-section-heading>span{font-size:9px;color:#a5a5b4}.inline-fields{display:flex;gap:8px;align-items:center;margin-top:12px}.inline-fields>input{min-width:0;flex:1;border:1px solid #e5e5ed;background:white;border-radius:13px;padding:10px 12px;font-size:11px;min-height:39px}.inline-fields .button{font-size:10px;min-height:37px;padding:8px 14px}.family-member{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;padding:12px 3px;border-bottom:1px solid #ececf2}.family-member small{font-size:9px;color:#aaaaba}.family-member>span{flex:1}.family-member button{font-size:9px;color:#aaaab8}.family-section>#create-invite{font-size:11px;width:100%;margin-top:16px}.invitation-result,.join-preview{border-radius:19px;padding:16px;background:#eaf5de;margin-top:14px}.invitation-result p{font-size:9px;color:#889479}.invitation-result strong{display:block;font-size:15px;font-weight:600;letter-spacing:1px;margin-top:6px;word-break:break-all}.invitation-result small{display:block;font-size:9px;color:#8c9981;margin-top:7px}.invite-actions{display:flex;gap:13px;align-items:center;margin-top:13px}.invite-actions .button{font-size:10px;padding:7px 12px;min-height:32px;background:#fff}.invite-actions .text-button{font-size:9px}.join-preview h4{font-size:14px;font-weight:550;margin:0}.join-preview p{font-size:10px;color:#8d9b82;line-height:1.8;margin:6px 0 12px}.join-preview .button{font-size:10px;padding:8px 15px;min-height:35px}.family-tip{font-size:9px;line-height:1.9;color:#b1b1c2}.family-body{gap:19px}.family-body .optional-fields{padding-top:18px}.family-body .optional-fields .inline-fields{margin-top:17px}.cloud-note{font-size:8px;color:#b6b6c5}.button[aria-busy=true]{opacity:.5;cursor:wait}
@media(min-width:600px){.auth-shell{border-radius:38px;min-height:calc(100dvh - 60px);box-shadow:0 20px 100px #3333490c}}@media(max-width:350px){.auth-shell{padding:35px 25px}.auth-shell h1{font-size:30px}.household-trigger{max-width:137px;font-size:9px}.invitation-result strong{font-size:12px}.inline-fields>input{font-size:10px}}

.household-list{display:flex;flex-direction:column;gap:9px}.household-choice{display:flex;align-items:center;gap:10px;justify-content:space-between;width:100%;text-align:left;background:#fff;border:1px solid #ededf3;border-radius:20px;padding:15px 17px;font-size:13px}.household-choice.active{border-color:#cfcfdc;box-shadow:0 3px 14px #29293804}.household-choice small{display:block;color:#ababba;font-size:9px;margin-top:5px}.household-choice i{font-size:9px;font-style:normal;background:#e4f6cc;border-radius:12px;padding:3px 8px;color:#7a8b64}.household-choice svg{height:14px;width:14px;color:#b0b0bf}.join-preview p{font-size:10px;color:#9aa88e;margin-top:6px}.join-preview .button{font-size:11px;margin-top:13px;min-height:36px}.family-tip{color:#aaaab9;font-size:9px;line-height:1.9}.family-section-heading{display:flex;align-items:center;justify-content:space-between}.family-section h3{font-size:13px;font-weight:600}.family-section{padding-top:17px;border-top:1px solid #e8e8ef}.family-account{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#9b9bab}.family-account .text-button{font-size:9px}.auth-shell .field{margin-top:19px;font-size:11px}.auth-shell .field input{min-height:47px;border-radius:15px}.auth-error{font-size:10px;color:#b57b73;line-height:1.9;min-height:1px;margin-top:12px}.auth-shell form>.button{width:100%;margin-top:20px}.auth-note{font-size:9px;color:#b3b3bf;line-height:2;text-align:center;margin-top:26px}
