/* A calm, dimensional identity. Decoration never contains document data. */
:root{color:#193b32;background:#f5f8f5;--ink:#193b32;--green:#148c6c;--line:#dce8e1;--soft:#edf5f0}
body{background:radial-gradient(ellipse at 78% 2%,#e6f3e8 0,transparent 44%),#f7f9f6}
.muted{color:#637b70}button,.button{background:#17896b;border-radius:13px;min-height:44px;box-shadow:0 3px 0 #0c695314,0 5px 13px #0b5f4910;transition:background .2s,box-shadow .2s,transform .2s}button:hover,.button:hover{filter:none;background:#106f58}.secondary{background:#fff;color:#345c4e;border-color:#d9e6df;box-shadow:0 2px 3px #17392e05}.secondary:hover{background:#edf6f0}.danger{background:#fff0ec;color:#a33f2a;box-shadow:none}.danger:hover{background:#ffe1d8}.small{min-height:36px}.button svg,button svg{width:20px;height:20px}svg.ui-icon{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;flex-shrink:0}
input,select,textarea{border-color:#d7e5db;border-radius:12px;min-height:44px;transition:box-shadow .2s,border .2s}input:focus,select:focus,textarea:focus{outline:0;border-color:#269c7c;box-shadow:0 0 0 4px #238c7012}button:focus-visible,a:focus-visible,.card:focus-visible{outline:3px solid #11694f;outline-offset:4px}
.shell{grid-template-columns:224px minmax(0,1fr)}.main{padding:25px 38px 50px;max-width:1530px;margin:0 auto;min-width:0}.sidebar{background:#ffffffb3;backdrop-filter:blur(20px);padding:35px 18px 25px;border-color:#e2ebe3}.brand{color:#197658;font-weight:800;font-size:25px;letter-spacing:-1.2px;margin:0 12px 45px}.brand .brand-symbol{display:grid;place-items:center;width:39px;height:43px;border-radius:13px;background:linear-gradient(145deg,#eafbef,#c2e9d0);box-shadow:inset 0 1px 1px white,0 5px 10px #23795512;transform:rotate(-6deg)}.brand .brand-symbol svg{width:23px;height:23px;transform:rotate(6deg)}.nav{gap:7px}.nav button{color:#587164;box-shadow:none;border-radius:12px;font-weight:600;font-size:13px;min-height:48px}.nav button.active{background:#e0f1e5;color:#16714e;box-shadow:inset 0 0 0 1px #d2e9d9}.nav button:hover{background:#ecf5ee}.nav i{display:flex;align-items:center}.sidebar footer{background:linear-gradient(145deg,#edf6ec,#e2efdf);color:#55765e;padding:20px;border:1px solid #dcead8;border-radius:18px;position:relative;overflow:hidden}.sidebar footer:after{content:'';position:absolute;width:85px;height:85px;border:15px solid #fff6;border-radius:50%;right:-40px;top:-35px;pointer-events:none}.sidebar footer p{font-size:14px;font-weight:600;color:#32563f}.sidebar footer a{color:#296e52}.top{border:0;margin-bottom:24px;padding-bottom:0;min-height:46px}.search{max-width:490px;gap:0;position:relative;border:1px solid #e1e9e0;border-radius:16px;background:#ffffffc9;box-shadow:0 3px 10px #24432b03}.search input{border:0;background:none;padding-left:18px;font-size:12px;min-height:47px}.search button{min-height:33px;align-self:center;margin-right:7px;padding:7px 11px;font-size:11px;border:0;background:#edf4ec;border-radius:10px;box-shadow:none}.account .muted{font-size:11px}.avatar{background:linear-gradient(135deg,#d6ebd6,#c3dec7);color:#335d41;border:3px solid #fff;box-shadow:0 2px 8px #285f3210}.account>button{background:transparent;border:0;box-shadow:none}
.heading h1{font-weight:800;letter-spacing:-1.3px;font-size:32px}.eyebrow{font-size:10px;letter-spacing:2px;color:#437a59}.overview-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;min-height:305px;margin-bottom:24px;padding:33px 40px;background:linear-gradient(118deg,#e9f5e7 0%,#e0f0df 54%,#d9eddc 100%);border:1px solid #dcebd7;border-radius:27px;overflow:hidden;box-shadow:inset 0 1px 0 #fff,0 15px 40px #294e3610}.overview-hero:before{content:'';position:absolute;z-index:-1;width:470px;height:470px;border:1px solid #ffffff8c;border-radius:50%;right:-85px;top:-99px;box-shadow:0 0 0 50px #ffffff25,0 0 0 100px #ffffff15}.hero-copy{position:relative;z-index:2}.hero-kicker{display:flex;align-items:center;gap:8px;font-size:10px;text-transform:uppercase;letter-spacing:1.9px;color:#3f6f4f;font-weight:800}.hero-kicker:before{content:'';width:7px;height:7px;background:#529568;border-radius:50%;box-shadow:0 0 0 4px #67ab7d18}.hero-copy h1{font-size:clamp(31px,3.4vw,49px);line-height:1.14;letter-spacing:-2px;font-weight:800;color:#1b4b37;margin:18px 0 14px}.hero-copy h1 em{font-style:normal;color:#458b61}.hero-copy>p{max-width:345px;font-size:12px;line-height:1.85;color:#54745e;margin:0 0 22px}.hero-actions{display:flex;align-items:center;gap:17px}.hero-actions button{padding:13px 19px;background:#1a7957;box-shadow:0 4px 0 #0b4b3512,0 8px 16px #1d6c4320}.hero-actions .hero-link{background:transparent;color:#3b6c4c;box-shadow:none;padding:10px 0;font-size:12px}.hero-note{font-size:10px;color:#547960;margin-top:15px;display:flex;gap:7px;align-items:center}.hero-note svg{width:14px;height:14px}.hero-visual{height:270px;position:relative;align-self:center;margin:-10px -25px -10px -5px}.hero-visual>img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 16px 14px #29553b0a)}.scene-label{position:absolute;display:flex;align-items:center;gap:9px;background:#ffffffd6;backdrop-filter:blur(12px);padding:11px 15px;border:1px solid #fff;border-radius:13px;box-shadow:0 12px 28px #26492d12;color:#41684d;font-size:10px;white-space:nowrap}.scene-label strong{display:block;font-size:12px;color:#254c34}.scene-label svg{color:#30895b;width:20px;height:20px}.scene-label.one{top:20px;right:-4px;transform:rotate(4deg)}.scene-label.two{left:5px;bottom:13px;transform:rotate(-4deg)}
.stats{gap:15px;margin-bottom:23px}.stat{padding:18px 22px;border-radius:18px;border-color:#e1eae0;background:linear-gradient(145deg,#fff,#fcfdfb);box-shadow:0 5px 15px #314f2f04;gap:16px;position:relative}.stat strong{font-size:29px;font-weight:800;letter-spacing:-1.4px;color:#274a37}.stat .muted{font-size:11px}.stat-icon{border-radius:15px;width:47px;height:47px;background:linear-gradient(145deg,#e0f4e4,#cde9d6);color:#468364;box-shadow:inset 0 1px 0 #fff,0 3px 0 #d3e4d580;transform:rotate(-5deg)}.stat-icon svg{transform:rotate(5deg)}.stat:nth-child(2) .stat-icon{background:linear-gradient(145deg,#edf6db,#e0eac7);color:#718752;box-shadow:inset 0 1px 0 white,0 3px 0 #dde4ce}.stat:nth-child(3) .stat-icon{background:linear-gradient(145deg,#fff3df,#f5e3c0);color:#a57a39;box-shadow:inset 0 1px 0 white,0 3px 0 #eadcbe}.banner{border-radius:17px;background:linear-gradient(105deg,#fff5e3,#f9edd5);border-color:#efdfbe;padding:15px 21px;margin-bottom:25px}.banner h3{font-size:13px;color:#765b2d}.banner p{font-size:11px;color:#877046}.banner button{font-size:11px;color:#876735;border-color:#ddc9a1;background:#ffffff70;min-height:36px}.collection-head{display:flex;align-items:center;justify-content:space-between;margin:30px 0 4px}.collection-head h2{font-size:21px;letter-spacing:-.6px;margin:0}.collection-head span{font-size:11px;color:#738879}.filters{gap:6px;margin:15px 0 19px}.filters button{border:0;border-radius:9px;font-size:11px;padding:8px 11px;min-height:35px;box-shadow:none;color:#617969}.filters button.active{border:0;color:#28603e;background:#e5efe3;font-weight:800}.filters select{font-size:11px;padding:8px 10px;min-height:35px;width:auto;max-width:155px;border-color:#e1e8df;background:#fff9}.filters select+select{margin-left:4px}.grid{gap:20px}.card{border-radius:21px;border-color:#e1e9df;box-shadow:0 3px 5px #234d2c03,0 10px 25px #284c3110;position:relative;background:#fff;isolation:isolate}.product-image{height:177px;margin:8px 8px 0;border-radius:15px;background:radial-gradient(ellipse at 50% 20%,#fff 0,#eff4eb 65%);position:relative;overflow:hidden;color:#668c70}.product-image:before{content:'';width:115px;height:38px;background:#647b5320;filter:blur(12px);border-radius:50%;position:absolute;left:50%;bottom:26px;transform:translateX(-50%)}.product-image:after{content:'';width:140px;height:22px;background:linear-gradient(100deg,#e5eddf,#f9fcf4);box-shadow:0 5px 0 #d7e3cc,0 10px 16px #42613113;border:1px solid #fff;border-radius:50%;position:absolute;left:50%;bottom:32px;transform:translateX(-50%);z-index:-1}.product-image svg{width:65px;height:65px;stroke-width:1.25;filter:drop-shadow(2px 4px 0 #c5d7c2) drop-shadow(0 8px 4px #47674215);transform:translateY(-5px) rotate(-7deg);transition:transform .3s}.product-image:has(img):before,.product-image:has(img):after{display:none}.product-image img{position:relative;z-index:1;padding:12px}.category-pill{position:absolute;top:19px;left:20px;font-size:9px;letter-spacing:.3px;padding:5px 8px;background:#ffffffbd;border:1px solid #fff;border-radius:6px;color:#58735b;z-index:2}.card-content{padding:19px 21px}.card h3{font-size:15px;font-weight:800;color:#294531;letter-spacing:-.3px}.card .price{font-size:19px;letter-spacing:-.7px;color:#213d2b}.card .muted{font-size:10px;margin:8px 0 1px;line-height:1.8}.badge{font-size:10px;border-radius:7px;padding:6px 9px;background:#eaf5e8;color:#3f7447;margin:12px 0}.badge.gray{background:#f0f3ed;color:#687b66}.badge.warn{background:#fff1d7;color:#8a672c}.doc-line{font-size:10px;color:#687e6d;border-color:#ebf0e8;align-items:center}.doc-line>span:last-child{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#f1f6ed;color:#6c8b66}.panel{border-color:#dfe8dd;border-radius:20px;box-shadow:0 8px 25px #224b2d04}.empty{background:radial-gradient(ellipse at 50% 0,#edf6e8,white 75%);border-color:#d6e6cf;border-radius:22px}.empty-icon{color:#62966b}.empty h2{letter-spacing:-.7px}.empty p{max-width:400px;margin:10px auto 22px}.notice{background:#edf5e9;color:#46684a;border:1px solid #e2eddd;border-radius:13px}.notice.warn{background:#fff5e4;color:#80602e;border-color:#efdfbf}.item{border-color:#dde8da;border-radius:16px;background:linear-gradient(145deg,#fff,#fafcf7)}dialog{border:1px solid #fff;border-radius:24px;box-shadow:0 40px 140px #10311e45;padding:28px 30px}dialog::backdrop{background:#16352270;backdrop-filter:blur(8px)}.modal-head{padding-bottom:16px;border-bottom:1px solid #e7eee2}.modal-head h2{letter-spacing:-.6px}.preview{background:#edf3e9;border:1px solid #e0e8da;border-radius:18px}.detail-image{margin:0 0 20px}.row a{color:#247052}.day{border-color:#e4eadf;border-radius:10px}.day.today{border-color:#67976a;background:#f0f7e9}.day a{background:#f8eccc;color:#775e30}#toast{background:#254c37;box-shadow:0 12px 30px #15362325;border:1px solid #ffffff30;border-radius:15px;font-size:13px}
.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;max-width:1250px;margin:auto;align-items:center;padding:50px 55px;gap:75px}.auth-story{position:relative}.auth-story .brand{margin:0 0 36px}.auth-story h2{font-size:48px;letter-spacing:-2.2px;line-height:1.18;color:#28563b;margin:0 0 15px}.auth-story h2 em{font-style:normal;color:#629a68}.auth-story>p{font-size:14px;color:#68816b;max-width:360px;line-height:1.9}.auth-art{height:300px;margin:-5px 0 -15px;position:relative}.auth-art img{width:100%;height:100%;object-fit:contain}.auth-points{display:flex;gap:18px;color:#597e5d;font-size:10px}.auth-points span{display:flex;align-items:center;gap:5px}.auth-points svg{width:15px;height:15px}.auth-layout .auth{width:100%;max-width:440px;margin:0;padding:35px 36px;background:#ffffffde;backdrop-filter:blur(15px);border:1px solid white;border-radius:25px;box-shadow:0 25px 70px #2851350d,0 2px 5px #28483105}.auth-layout .auth .brand{display:none}.auth h1{font-size:28px;letter-spacing:-1.2px;line-height:1.2}.auth>.muted{font-size:12px}.auth .form{gap:15px}.auth #authError:empty{display:none}.auth-kicker{display:block;font-size:10px;letter-spacing:1.8px;color:#729174;font-weight:800;margin-bottom:14px}.auth-layout .auth>p:last-child{font-size:10px;line-height:1.8;margin:23px 0 0}
@media(hover:hover) and (pointer:fine){.card:hover{transform:translateY(-6px);box-shadow:0 7px 14px #234d2c08,0 22px 35px #284c3115;border-color:#c8dcbc}.card:hover .product-image svg{transform:translateY(-10px) rotate(0deg)}button:hover{transform:translateY(-1px)}.nav button:hover,.filters button:hover{transform:none}.hero-visual:hover>img{transform:translateY(-4px) rotate(2deg);transition:transform .5s}.hero-visual>img{transition:transform .5s}}
@media(min-width:1450px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-hero{min-height:340px}.hero-visual{height:310px}.hero-copy h1{font-size:51px}.product-image{height:190px}}
@media(max-width:1100px){.shell{grid-template-columns:185px minmax(0,1fr)}.main{padding:23px}.sidebar{padding:30px 13px 20px}.brand{font-size:22px;margin-left:7px}.overview-hero{padding:28px;grid-template-columns:1.15fr 1fr}.hero-copy h1{font-size:35px;letter-spacing:-1.5px}.hero-visual{height:240px;margin-right:-25px}.scene-label{padding:8px 10px;font-size:9px}.scene-label.one{right:1px;top:18px}.scene-label.two{left:5px;bottom:7px}.hero-actions{gap:10px}.hero-actions button{padding:12px;font-size:12px}.hero-actions .hero-link{font-size:11px}.stat{padding:15px;gap:10px}.stat-icon{width:37px;height:40px}.stat strong{font-size:27px}.stat .muted{font-size:10px}.filters select{max-width:145px}.auth-layout{gap:35px;padding:40px}.auth-story h2{font-size:40px}}
@media(max-width:700px){.shell{display:block}.main{padding:16px 17px 105px}.sidebar{height:auto;padding:7px 5px max(7px,env(safe-area-inset-bottom));background:#fffffff0;border-top:1px solid #dbe7d8;box-shadow:0 -8px 20px #214c2708}.nav button{font-size:9px;min-height:51px;padding:6px 8px;gap:4px;border-radius:12px}.nav i{width:20px}.nav svg.ui-icon{width:21px;height:21px}.top{margin-bottom:19px;gap:6px}.search{max-width:none;border-radius:13px}.search input{font-size:11px;min-height:43px;padding-left:12px}.account>button{padding:7px;min-width:34px}.overview-hero{display:block;min-height:0;border-radius:22px;padding:24px 23px 21px;margin-bottom:16px}.hero-copy h1{font-size:35px;letter-spacing:-1.6px;line-height:1.12;margin:16px 0 12px}.hero-copy>p{font-size:11px;max-width:240px;line-height:1.8;margin-bottom:15px}.hero-kicker{font-size:8px;letter-spacing:1.4px}.hero-visual{height:165px;width:235px;margin:-4px auto -2px;position:relative}.hero-visual>img{height:185px;position:absolute;top:-14px}.scene-label{font-size:8px;padding:7px 10px;border-radius:10px;gap:6px}.scene-label strong{font-size:10px}.scene-label svg{width:16px;height:16px}.scene-label.one{right:-23px;top:10px}.scene-label.two{left:-13px;bottom:2px}.hero-actions{gap:10px}.hero-actions button{font-size:11px;min-height:43px;padding:11px 14px}.hero-actions .hero-link{font-size:10px}.hero-note{display:none}.overview-hero:before{width:300px;height:300px;right:-170px;top:-90px}.mobile-scan{background:linear-gradient(120deg,#258c68,#157852);border:1px solid #ffffff40;border-radius:13px;box-shadow:0 5px 12px #205e321a;margin:0 0 17px;min-height:48px;font-size:13px}.main:has(.overview-hero)>.mobile-scan{display:none}.stats{gap:8px;margin-bottom:16px}.stat{padding:13px 10px;border-radius:14px;display:block;box-shadow:0 5px 12px #314f2f04}.stat-icon{display:none}.stat strong{font-size:26px}.stat .muted{font-size:9px;line-height:1.4;display:block;margin-top:6px}.banner{padding:14px;border-radius:14px;margin-bottom:20px;gap:8px}.banner h3{font-size:11px}.banner p{font-size:10px;line-height:1.6}.banner button{font-size:9px;padding:7px 9px;white-space:nowrap;min-height:35px}.collection-head{margin:23px 0 8px}.collection-head h2{font-size:20px}.collection-head span{font-size:9px}.filters{gap:5px;margin:10px 0 16px}.filters button{font-size:9px;padding:7px 8px;min-height:32px}.filters select{margin:6px 0 0;width:calc(50% - 3px);max-width:none;flex:1;min-width:130px;font-size:10px}.filters select+select{margin-left:0}.grid{gap:12px}.card{border-radius:17px}.product-image{height:130px;margin:6px 6px 0;border-radius:12px}.product-image svg{width:49px;height:49px}.product-image:after{width:90px;height:15px;bottom:24px}.product-image:before{width:90px;bottom:22px}.category-pill{font-size:7px;top:13px;left:12px;padding:4px 6px;max-width:calc(100% - 24px)}.card-content{padding:14px 12px}.card h3{font-size:12px;line-height:1.5;letter-spacing:-.2px}.card .price{font-size:16px}.card .muted{font-size:9px;line-height:1.6}.badge{font-size:8px;padding:5px 7px;max-width:100%;margin:10px 0}.doc-line{font-size:8px}.doc-line>span:last-child{width:20px;height:20px}.heading h1{font-size:29px}.panel{padding:19px;border-radius:17px}dialog{padding:19px 17px;border-radius:22px;width:calc(100vw - 20px);max-height:94dvh}.modal-head h2{font-size:19px}.fields{gap:13px}.fields label{font-size:11px}.fields input{min-width:0}.detail-image{height:180px}.preview{border-radius:14px}#toast{bottom:90px;font-size:12px;width:max-content;max-width:90vw}.auth-layout{display:block;padding:27px 20px 35px;min-height:100dvh}.auth-story .brand{display:flex;margin:0 0 20px;font-size:25px}.auth-story h2{font-size:31px;letter-spacing:-1.3px;margin-bottom:9px}.auth-story>p{font-size:12px;margin:0 0 20px;max-width:280px}.auth-art,.auth-points{display:none}.auth-layout .auth{max-width:none;padding:26px 23px;border-radius:21px}.auth h1{font-size:25px}.auth-kicker{font-size:9px}.auth-layout .auth>p:last-child{margin-top:18px}.row{overflow-wrap:anywhere}.scene-label{pointer-events:none}}
@media(max-width:360px){.main{padding-left:12px;padding-right:12px}.hero-copy h1{font-size:31px}.overview-hero{padding:23px 19px}.scene-label.one{right:-12px}.hero-actions{gap:8px}.hero-actions button{padding:10px;font-size:10px}.card .price{font-size:14px}.filters button{font-size:8px;padding:7px}.auth-layout{padding:22px 15px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.card:hover,button:hover,.hero-visual:hover>img{transform:none!important}}
.product-image .category-art{width:100%;height:100%;padding:22px 13px 16px;object-fit:contain;filter:drop-shadow(0 6px 7px #3154380d);transition:transform .3s}.illustration-label{position:absolute;bottom:5px;right:8px;font-size:7px;color:#60785f;background:#f7faf3d9;padding:3px 5px;border-radius:4px;z-index:2}.hero-visual>img{padding:0 18px}.auth-art img{padding:10px 45px}.scene-label.one{right:-1px;top:5px}.scene-label.two{bottom:5px;left:0}
@media(hover:hover) and (pointer:fine){.card:hover .category-art{transform:translateY(-3px) scale(1.03)}}
@media(max-width:700px){.hero-visual>img{padding:0 22px}.scene-label.one{top:4px;right:-19px}.scene-label.two{bottom:0;left:-13px}.product-image .category-art{padding:22px 5px 17px}.illustration-label{font-size:6px;right:5px;bottom:5px}}
/* Real product image selection */
#imagePicker{width:min(960px,94vw);max-height:90dvh;border:0;border-radius:24px;padding:28px;color:var(--text,#163c32)}
#imagePicker::backdrop{background:#123b3066;backdrop-filter:blur(4px)}
.image-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.image-result{border:1px solid #dce8df;border-radius:18px;overflow:hidden;background:white;min-width:0}
.image-result>img{display:block;width:100%;height:170px;object-fit:contain;background:#f5f8f4;padding:10px}
.image-result-body{padding:14px}.image-result h3{font-size:14px;overflow-wrap:anywhere;margin:0 0 10px}.image-result button{width:100%;margin-top:10px}
.image-credit{font-size:11px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}.image-credit span{display:block;color:#607568}.image-credit a{color:#13755b}
.photo-actions{margin:12px 0 18px}.receipt-photo{margin-top:12px}.selected-product-photo:not(:empty){display:flex;gap:12px;margin-top:12px;padding:12px;border-radius:14px;background:#f1f6ef}.selected-product-photo img{width:90px;height:90px;object-fit:contain;flex-shrink:0}.selected-product-photo strong{font-size:13px;overflow-wrap:anywhere}
@media(max-width:600px){#imagePicker{padding:18px;width:94vw}.image-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.image-result>img{height:125px}.image-result-body{padding:10px}.image-result button{font-size:12px;padding:10px 6px}.selected-product-photo img{width:64px;height:64px}}
.file-picker{width:100%;padding:18px;border:1px solid #dce8df;border-radius:18px;background:#f8faf6;box-sizing:border-box}.file-drop{display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 12px;border:2px dashed #bfd3c1;border-radius:14px;margin-bottom:14px;text-align:center;cursor:pointer;color:#265e47}.file-drop.dragging,.file-drop:focus-visible{background:#e1f0dd;border-color:#198567;outline:2px solid #198567}.file-picker-icon{font-size:25px;width:46px;height:46px;border-radius:14px;background:#e4f0df;display:grid;place-items:center}.file-drop span:last-child{font-size:13px;color:#65786b}.file-picker .actions{flex-wrap:wrap}.file-preview{display:flex;gap:12px;align-items:center;padding:10px 0;min-width:0}.file-preview img,.pdf-preview{width:70px;height:70px;object-fit:contain;border-radius:10px;background:white;flex-shrink:0}.pdf-preview{display:grid;place-items:center;font-weight:bold;color:#25805d}.file-preview strong,.file-preview span{display:block;font-size:12px;overflow-wrap:anywhere}.file-picker-status{color:#a04428;font-size:13px}.file-picker>input[hidden]{display:none}.file-selection{max-height:250px;overflow:auto}#ownPhotoPicker{width:min(550px,94vw);border:0;border-radius:24px;padding:24px;max-height:90dvh}#ownPhotoPicker::backdrop{background:#123b3066;backdrop-filter:blur(4px)}.receipt-photo{border-top:1px solid #dce8df;padding-top:12px}.receipt-photo>button{margin:0 6px 6px 0}
@media(max-width:600px){.file-picker{padding:12px}.file-drop{padding:18px 8px}.file-picker .actions button{flex:1;font-size:13px;padding:12px 8px}#ownPhotoPicker{padding:18px}}
.warranty-fields{margin:14px 0;padding:14px;border-radius:14px;background:#eff5e9;border:1px solid #d6e3cc}.warranty-fields summary{font-weight:650;color:#38673b;cursor:pointer}.warranty-fields .fields{margin-top:12px}.warranty-target{margin:10px 0}.apply-warranty{margin-top:12px}
/* Keep intrinsic image dimensions and long filenames out of layout sizing. */
.split{grid-template-columns:minmax(0,42%) minmax(0,1fr)}.split>*,.row>*,.document-info,.modal-head h2{min-width:0}.modal-head{gap:14px;align-items:flex-start}.modal-head h2{overflow-wrap:anywhere;line-height:1.4}.modal-head>button{flex:0 0 auto;min-width:40px;min-height:40px}
.product-image{min-width:0;min-height:0}.product-image>img{display:block;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center;align-self:center;justify-self:center}
.product-image.detail-image{display:flex;align-items:center;justify-content:center;width:100%;height:260px;max-height:36vh;margin:0 0 10px;padding:16px;overflow:hidden;background:#f5f8f2;border:1px solid #e1e9dc;border-radius:18px;isolation:isolate}
.product-image.detail-image>img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;padding:0;transform:none;filter:none}.product-image.detail-image:before,.product-image.detail-image:after{display:none}.photo-full-link{display:inline-block;font-size:12px;padding:6px 0;margin-bottom:6px}
.photo-actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 20px}.photo-actions button{min-height:44px;white-space:normal;line-height:1.35;text-align:center;flex:1 1 120px;padding:10px 12px}.document-row{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:12px}.document-info{flex:1 1 0;overflow-wrap:anywhere}.document-name{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word;line-height:1.5}.document-row>button{flex:0 0 auto;min-height:40px;max-width:100px}.document-info .muted{line-height:1.5;overflow-wrap:anywhere}.file-preview>div{min-width:0}
@media(max-width:700px){.split{grid-template-columns:minmax(0,1fr)}.product-image.detail-image{height:210px;max-height:30vh;padding:12px}.photo-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.photo-actions button{min-width:0;font-size:12px}.photo-actions button:last-child:nth-child(3){grid-column:1/-1}.document-row{gap:8px}.document-row>button{max-width:80px;font-size:11px;min-height:44px}.modal-head h2{font-size:18px}}
.product-image{display:flex;align-items:center;justify-content:center}.card .product-image>img{width:100%;height:100%;object-fit:contain}
.warranty-countdown{margin:14px 0;padding:12px 13px;background:#eaf4e6;border:1px solid #dbe8d4;border-radius:12px;color:#315e3a;min-height:70px;display:flex;flex-direction:column;justify-content:center;gap:4px;overflow-wrap:anywhere}.warranty-countdown>span{font-size:10px;font-weight:600;letter-spacing:.2px;color:#5f7d5d}.warranty-countdown>strong{font-size:17px;line-height:1.35;font-weight:800;letter-spacing:-.3px}.warranty-countdown.soon,.warranty-countdown.today{background:#fff4df;border-color:#efdfbf;color:#815e25}.warranty-countdown.soon>span,.warranty-countdown.today>span{color:#8c7346}.warranty-countdown.expired,.warranty-countdown.unknown{background:#f2f4ef;border-color:#e2e6dd;color:#657260}.warranty-countdown.expired>strong,.warranty-countdown.unknown>strong{font-size:14px}
@media(max-width:700px){.warranty-countdown{padding:10px 9px;margin:11px 0;min-height:82px;gap:5px}.warranty-countdown>span{font-size:9px}.warranty-countdown>strong{font-size:14px;line-height:1.4}.warranty-countdown.expired>strong,.warranty-countdown.unknown>strong{font-size:12px}}
.photo-frame{position:relative;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;border-radius:inherit}.photo-frame>img{position:absolute!important;display:block!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;object-fit:contain!important;transform:none!important;filter:none!important;user-select:none;pointer-events:none}
#photoFrameDialog{width:min(570px,94vw);padding:24px;max-height:92dvh}#photoFrameDialog::backdrop{background:#123b3077;backdrop-filter:blur(4px)}.frame-editor-preview{height:220px;aspect-ratio:4/3;max-width:100%;margin:14px auto;border:1px solid #bdd5bd;border-radius:16px;background:repeating-conic-gradient(#f3f6f1 0% 25%,#e8eee5 0% 50%) 50%/20px 20px;overflow:hidden}.frame-editor-preview .photo-frame{touch-action:none;cursor:grab}.frame-editor-preview .photo-frame:active{cursor:grabbing}.frame-controls{gap:12px}.frame-controls input[type=range]{padding:0;accent-color:#16876a;min-height:36px}.frame-controls label{font-size:12px}.frame-controls .actions>button{flex:1;min-height:44px}.frame-controls output{font-variant-numeric:tabular-nums}.photo-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.photo-actions button:last-child:nth-child(4){grid-column:auto}
@media(max-width:700px){#photoFrameDialog{padding:18px}.frame-editor-preview{height:190px}.frame-controls{gap:9px}.photo-actions button:last-child:nth-child(3){grid-column:1/-1}}
.selected-product-photo>.photo-frame{width:90px;height:90px;flex:0 0 90px;border-radius:10px;background:white}@media(max-width:600px){.selected-product-photo>.photo-frame{width:64px;height:64px;flex-basis:64px}}
.modal-title-group{flex:1;min-width:0}.modal-title-line{display:flex;align-items:flex-start;gap:10px;min-width:0}.modal-title-line h2{flex:1;min-width:0;overflow-wrap:anywhere}.copy-title{flex:0 0 40px;width:40px;height:40px;padding:9px;min-height:40px}.copy-title svg{width:19px;height:19px}.copy-title-status{display:block;color:#197652;font-size:12px;line-height:1.4;margin-top:4px}.copy-title-status:empty{display:none}.copy-name-fallback{width:100%;min-height:70px;font-size:13px;margin-top:10px}@media(max-width:700px){.modal-title-line{gap:7px}.copy-title{flex-basis:36px;width:36px;height:40px;padding:8px}.modal-head{gap:8px}}
.modal-title-line{width:fit-content;max-width:100%}

.add-document-button{display:flex;align-items:center;justify-content:center;gap:10px;margin:22px 0 30px;padding:14px 22px;min-height:48px;width:100%;border-radius:14px}.add-document-button span{font-size:22px;line-height:1}.provider-status{overflow-wrap:anywhere}
.catalog-panel{border:1px solid #dce8e3;border-radius:16px;background:#f5faf7;padding:16px;display:grid;gap:12px;min-width:0}.catalog-results{max-height:340px;overflow:auto;display:grid;gap:8px}.catalog-model{text-align:left;display:grid;gap:5px;white-space:normal;overflow-wrap:anywhere;width:100%;min-width:0;padding:12px}.catalog-model span,.catalog-model small{font-weight:400}.catalog-panel p{margin:0}.catalog-panel .fields{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){.catalog-panel .fields{grid-template-columns:1fr}.catalog-panel{padding:12px}.catalog-results{max-height:300px}}
.product-image:has(.photo-frame),.photo-frame,.frame-editor-preview,.image-result>img,.selected-product-photo>img{background:#fff}.product-image:has(.photo-frame){border:1px solid #edf0eb}.frame-editor-preview{background-image:none}
.catalog-results{display:flex;flex-direction:column;align-items:stretch;gap:9px;min-height:0;max-height:360px;overflow-y:auto;overflow-x:hidden;padding:2px 5px 4px 2px;scrollbar-gutter:stable}
.catalog-results>button.catalog-model{display:block;flex:0 0 auto;height:auto;min-height:0;max-height:none;box-sizing:border-box;width:100%;padding:13px 15px;margin:0;text-align:left;white-space:normal;line-height:1.45;overflow:visible;box-shadow:none;align-items:normal;justify-content:normal;border:1px solid #d9e5df;border-radius:12px}
.catalog-model>strong,.catalog-model>span,.catalog-model>small{display:block;position:static;white-space:normal;overflow-wrap:anywhere;text-align:left;width:auto;height:auto;min-height:0;margin:0}
.catalog-model>strong{font-size:14px;color:#244f3b;line-height:1.45}.catalog-model>span{font-size:12px;color:#587166;margin-top:4px}.catalog-model>small{font-size:11px;color:#6c7f73;margin-top:5px;line-height:1.5}
.catalog-results>button.catalog-model[aria-pressed=true]{background:#e9f5e9;border-color:#368567;box-shadow:inset 3px 0 #368567}.catalog-model:focus-visible{outline:2px solid #16876a;outline-offset:-2px}
@media(max-width:600px){.catalog-results{max-height:320px}.catalog-results>button.catalog-model{padding:12px}.catalog-model>strong{font-size:13px}}
#loadModels[hidden]{display:none}

/* Original Chekoteka receipt/Ч identity, outlined Cyrillic wordmark. */
.brand .brand-logo{display:block;width:174px;height:auto;max-width:100%;flex-shrink:0}.auth-story .brand .brand-logo{width:215px}.brand{line-height:1}.sidebar .brand{margin-left:6px;margin-right:0}@media(max-width:1100px) and (min-width:701px){.sidebar .brand .brand-logo{width:155px}}@media(max-width:700px){.auth-story .brand .brand-logo{width:190px}}
