:root{color-scheme:dark;--bg:#0b1022;--bg2:#121832;--surface:rgba(28,35,65,.74);--surface2:rgba(34,43,77,.62);--stroke:rgba(210,225,255,.125);--text:#f5f7ff;--sub:#a7b1ce;--muted:#7782a3;--indigo:#8a80ff;--cyan:#44e3dd;--pink:#ff75ba;--yellow:#f9bd6f;--green:#5ee8ba;--shadow:0 24px 80px rgba(0,0,0,.24)}
    *{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
    body:before,body:after{content:"";position:fixed;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(90px)}body:before{width:510px;height:510px;top:-245px;left:-180px;background:#4234a86e}body:after{width:480px;height:480px;right:-225px;top:38%;background:#02879a42}
    button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8d90f5aa;outline-offset:3px}::selection{background:#736bff;color:white}::placeholder{color:#73809e}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#4b547d;border-radius:8px}
    .app{max-width:1510px;margin:auto;padding:24px 34px 38px}.header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:30px}.brand{display:flex;gap:12px;align-items:center;min-width:0}.brand-icon{width:45px;height:45px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#b095ff,#6d5eff 60%,#41cfe7);box-shadow:0 8px 25px #6858ef5b;font-size:24px;flex-shrink:0}.brand-name{font-size:21px;font-weight:900;letter-spacing:.035em}.brand-name span{color:var(--cyan)}.brand-sub{font-size:10px;font-weight:700;letter-spacing:.17em;color:var(--muted);margin-top:3px}.top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.save-indicator{color:var(--sub);display:flex;align-items:center;gap:7px;font-size:12px;margin-right:10px}.save-dot{width:7px;height:7px;background:var(--green);box-shadow:0 0 13px #56d8ac;border-radius:50%}.btn{border:1px solid var(--stroke);background:#ffffff0d;color:var(--text);border-radius:13px;min-height:40px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:730;transition:transform .15s,background .15s,border-color .15s}.btn:hover:not(:disabled){transform:translateY(-1px);background:#ffffff19;border-color:#ffffff35}.btn-primary{color:white;border:none;background:linear-gradient(115deg,#8175fc,#a068f4 55%,#dc72c8);box-shadow:0 8px 25px #8068f437}.btn-primary:hover:not(:disabled){background:linear-gradient(115deg,#9287ff,#af7aff 55%,#ec7ed5)}.btn-small{min-height:34px;padding:8px 11px;font-size:12px}.btn-ghost{background:transparent}.icon{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon.sm{width:15px;height:15px}.icon.lg{width:21px;height:21px}.avatar{height:38px;width:38px;display:grid;place-items:center;color:#fff;border-radius:12px;background:#7466f340;font-weight:800}
    .layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:26px}.sidebar{display:flex;flex-direction:column;gap:18px}.panel{background:linear-gradient(145deg,rgba(32,38,68,.8),rgba(21,29,55,.78));border:1px solid var(--stroke);border-radius:23px;box-shadow:var(--shadow);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.sidebar-panel{padding:17px 13px}.section-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.18em;color:#8d99bd;font-weight:850}.sidebar-header{padding:8px 10px 12px;display:flex;justify-content:space-between;align-items:center}.round-action{height:28px;width:28px;display:grid;place-items:center;color:#ccc8ff;background:#8580fa1f;border:1px solid #8a80ff33;border-radius:9px}.trip-nav{display:flex;flex-direction:column;gap:6px;max-height:56vh;overflow:auto}.trip-entry{width:100%;display:flex;gap:10px;align-items:center;text-align:left;background:transparent;color:var(--text);border:1px solid transparent;border-radius:14px;padding:12px 10px}.trip-entry.active{border-color:#887fff72;background:linear-gradient(105deg,#736dff39,#545dc220)}.trip-entry:hover{background:#ffffff12}.trip-emoji{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:#ffffff0c;font-size:21px;flex:none}.trip-entry.active .trip-emoji{background:#8e80ff36}.trip-copy{flex:1;min-width:0}.trip-title{font-weight:800;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:13px}.trip-sub{font-size:11px;color:var(--muted);margin-top:4px}.trip-progress{font-size:11px;color:var(--cyan);font-weight:850}.sidebar-card{padding:20px;position:relative;overflow:hidden}.sidebar-card:before{content:"";position:absolute;height:145px;width:145px;border-radius:50%;background:#7064e445;filter:blur(43px);right:-50px;top:-40px}.sidebar-card-title{font-size:16px;font-weight:800;position:relative;margin:13px 0 9px}.sidebar-card p{color:var(--sub);line-height:1.55;margin:0 0 18px;font-size:12px;position:relative}.tiny-note{color:var(--muted);font-size:11px;line-height:1.6;text-align:center;padding:4px 14px}
    .workspace{min-width:0}.hero{min-height:236px;border-radius:27px;position:relative;overflow:hidden;padding:29px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(112deg,#4c49b8 0%,#6655b9 44%,#b45eaf 75%,#ed8c94 110%);box-shadow:0 20px 70px #4e45bd35}.hero:before{position:absolute;content:"";width:340px;height:340px;right:10%;top:-185px;border:1px solid #ffffff53;border-radius:50%}.hero:after{position:absolute;content:"";width:410px;height:410px;right:-155px;bottom:-320px;border:1px solid #ffffff47;border-radius:50%}.hero-copy{position:relative;z-index:1}.hero-label{color:#ffffffd3;font-size:11px;letter-spacing:.19em;font-weight:850;text-transform:uppercase}.hero h1{font-size:clamp(27px,3.3vw,43px);margin:13px 0 8px;line-height:1.12;letter-spacing:-.045em;max-width:520px}.hero-sub{font-size:13px;line-height:1.6;color:#fffdf4dd;max-width:420px}.hero-chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:19px}.hero-chip{border-radius:20px;background:#ffffff23;border:1px solid #ffffff33;padding:7px 11px;font-size:11px;font-weight:740;display:flex;align-items:center;gap:7px;backdrop-filter:blur(10px)}.hero-art{position:relative;flex:none;margin-right:28px;width:196px;height:173px;display:grid;place-items:center}.hero-art-inner{width:150px;height:150px;background:linear-gradient(140deg,#ffffff59,#ffffff11);border:1px solid #ffffff99;border-radius:44px;transform:rotate(-12deg);display:grid;place-items:center;box-shadow:0 15px 35px #463b9250;backdrop-filter:blur(12px)}.hero-art-inner span{font-size:82px;transform:rotate(12deg);filter:drop-shadow(0 12px 8px #392c6e3d)}.sparkle{position:absolute;font-size:26px;filter:drop-shadow(0 4px 10px #fff4)}.sparkle.one{right:-8px;top:8px}.sparkle.two{left:0;bottom:12px;font-size:20px}.hero-action{position:absolute;right:20px;top:17px;border-color:#ffffff4b;background:#ffffff26;font-size:12px;z-index:2}
    .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:19px 0 24px}.stat{min-width:0;background:var(--surface);border:1px solid var(--stroke);padding:18px 17px;border-radius:20px;backdrop-filter:blur(18px);position:relative;overflow:hidden}.stat-top{font-size:11px;font-weight:710;color:var(--sub);margin-bottom:8px;display:flex;justify-content:space-between;gap:3px}.stat-top .icon{opacity:.8}.stat-value{font-size:29px;letter-spacing:-.06em;font-weight:880;font-variant-numeric:tabular-nums;line-height:1.05}.stat-foot{font-size:10px;color:var(--muted);margin-top:8px}.stat.purple .stat-value{color:#aca5ff}.stat.cyan .stat-value{color:var(--cyan)}.stat.orange .stat-value{color:var(--yellow)}.stat.green .stat-value{color:var(--green)}
    .dash-header{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}.dash-header h2{font-size:21px;line-height:1.2;margin:0;font-weight:900;letter-spacing:-.03em}.dash-header p{margin:6px 0 0;color:var(--sub);font-size:12px}.dash-actions{display:flex;gap:8px;flex-wrap:wrap}.progress-wrap{padding:17px 21px;background:var(--surface);border:1px solid var(--stroke);border-radius:18px;margin-bottom:19px;backdrop-filter:blur(12px)}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:12px}.progress-header b{font-size:12px}.progress-header span{font-size:12px;font-weight:850;color:var(--cyan)}.progress-track{height:8px;border-radius:100px;background:#ffffff13;overflow:hidden}.progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#887bff,#55bfe9,#5cf3bf);box-shadow:0 0 17px #69e7df66;transition:width .3s}.filterbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:11px;margin-bottom:18px}.filter-tabs{display:flex;gap:4px;background:#ffffff0b;padding:4px;border:1px solid var(--stroke);border-radius:14px;max-width:100%;overflow-x:auto}.tab{white-space:nowrap;padding:9px 13px;color:var(--sub);font-size:12px;font-weight:780;border:0;background:transparent;border-radius:10px}.tab.active{background:#8d82f83e;color:white;box-shadow:0 0 0 1px #9087ed5c}.filter-tools{display:flex;gap:8px;min-width:0;flex:1;justify-content:flex-end}.search-wrap{position:relative;min-width:165px;width:190px}.search-wrap input{width:100%;height:40px;border-radius:12px;border:1px solid var(--stroke);background:#ffffff0b;color:white;padding:8px 10px 8px 35px}.search-wrap .icon{position:absolute;left:11px;top:11px;color:var(--sub)}.select-compact{height:40px;background:#242d4a;border:1px solid var(--stroke);color:#f6f6ff;border-radius:12px;padding:0 11px;max-width:158px}
    .category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.cat-card{min-width:0;padding:16px 16px 7px;background:var(--surface);border:1px solid var(--stroke);border-radius:20px;backdrop-filter:blur(16px);break-inside:avoid}.cat-card.wide{grid-column:span 2}.cat-header{display:flex;align-items:center;gap:11px;margin-bottom:12px;cursor:pointer;padding:0 1px}.cat-glyph{height:37px;width:37px;display:grid;place-items:center;border-radius:12px;background:var(--tint);font-size:20px;flex:none}.cat-info{flex:1;min-width:0}.cat-title{font-size:14px;font-weight:850;letter-spacing:-.012em}.cat-sub{font-size:11px;color:var(--sub);margin-top:4px}.cat-extent{display:flex;align-items:center;gap:8px}.cat-count{color:var(--accent);font-size:12px;font-weight:850}.cat-chevron{color:var(--muted)}.cat-mini-track{height:3px;background:#ffffff14;border-radius:10px;overflow:hidden;margin:-1px 1px 11px}.cat-mini-fill{height:100%;background:var(--accent);border-radius:10px;transition:width .2s}.item-list{display:flex;flex-direction:column}.item{display:flex;align-items:center;gap:11px;padding:11px 5px;border-top:1px solid #ffffff0e;min-height:51px;border-radius:6px}.item:hover{background:#ffffff07}.check{height:23px;width:23px;border:1.6px solid #8992b9;background:#ffffff08;border-radius:8px;display:grid;place-items:center;color:transparent;flex:none;transition:background .15s,border-color .15s,transform .15s}.check:hover{border-color:#c1baff;transform:scale(1.06)}.check.checked{background:linear-gradient(135deg,#766ffe,#57dcd6);border-color:transparent;color:white}.check .icon{height:16px;width:16px;stroke-width:2.7}.item-main{flex:1;min-width:0;cursor:pointer}.item-name{font-size:12.5px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}.item.checked .item-name{color:#8994b4;text-decoration:line-through;text-decoration-color:#8994b4a0}.item-note{font-size:11px;color:#8792b3;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-essential{display:inline-block;font-size:9px;color:#f8c985;background:#f0a55022;border:1px solid #efbc6526;border-radius:6px;padding:2px 5px;margin-left:7px;vertical-align:2px}.qty{display:flex;align-items:center;gap:5px;color:#b0b8d4}.qty button{height:25px;width:24px;border:1px solid #ffffff14;border-radius:8px;color:#c7cbed;background:#ffffff08;display:grid;place-items:center;font-size:17px;line-height:1}.qty-num{min-width:16px;text-align:center;font-size:11px;font-weight:850}.item-edit{width:24px;height:27px;border:0;background:transparent;color:#7884a3;border-radius:7px;display:grid;place-items:center}.item-edit:hover{background:#ffffff20;color:white}.cat-empty,.empty-state{padding:30px;text-align:center;color:var(--sub);font-size:13px}.empty-state{border:1px dashed #7684bd66;border-radius:17px;grid-column:span 2}.empty-state b{display:block;color:white;font-size:16px;margin:12px 0 6px}.special-wrap{margin-top:17px}.special-wrap .cat-card{border-color:#b38aff39;background:linear-gradient(135deg,#543a7655,var(--surface));}.special-wrap .cat-card.wide{grid-column:initial}
    .banner{margin:19px 0 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:17px 20px;border:1px solid #6beac348;background:linear-gradient(100deg,#1f806d22,#2a77911d);border-radius:18px}.banner-copy{display:flex;align-items:center;gap:12px}.banner-icon{height:38px;width:38px;border-radius:11px;display:grid;place-items:center;background:#53e6b32c;font-size:22px}.banner b{font-size:13px}.banner span{font-size:11px;color:var(--sub);display:block;margin-top:4px}.banner.needs{border-color:#ffcb6c4c;background:linear-gradient(100deg,#8c582123,#36304d44)}.banner.needs .banner-icon{background:#ffb55b2c}
    .footer{color:#73819e;text-align:center;font-size:11px;padding:30px 8px 7px;line-height:1.8}
    .modal-overlay{display:none;position:fixed;z-index:20;inset:0;padding:20px;background:#080d1ae8;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);overflow:auto;align-items:center;justify-content:center}.modal-overlay.open{display:flex}.modal{width:min(720px,100%);max-height:calc(100dvh - 40px);overflow:auto;position:relative;background:linear-gradient(155deg,#242b50f7,#131a35fa);border:1px solid #ffffff30;box-shadow:0 30px 120px #000a;border-radius:28px;padding:28px}.modal.sm{width:min(555px,100%)}.modal-close{position:absolute;right:19px;top:17px;z-index:4;width:34px;height:34px;border:1px solid #ffffff18;background:#ffffff0e;border-radius:11px;color:#cdd4ef;display:grid;place-items:center}.modal-kicker{display:flex;align-items:center;gap:8px;color:#b3abff;text-transform:uppercase;font-size:11px;letter-spacing:.16em;font-weight:850}.modal h2{font-size:29px;letter-spacing:-.04em;margin:10px 0 6px;line-height:1.2}.modal-intro{font-size:13px;line-height:1.6;color:var(--sub);margin:0 0 22px}.reason-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:22px}.reason{padding:15px 10px;border-radius:16px;min-height:105px;text-align:left;color:#f9f9ff;background:#ffffff0a;border:1px solid #ffffff19;transition:transform .15s,border-color .15s,background .15s}.reason:hover{transform:translateY(-2px);border-color:#a8a0fb7d}.reason.selected{background:linear-gradient(135deg,#8075ff43,#ac66df32);border-color:#a89dfd;box-shadow:0 0 0 1px #7d6cff25}.reason-emoji{display:block;font-size:27px;margin-bottom:9px}.reason strong{font-size:12px;display:block}.reason small{display:block;font-size:10px;margin-top:3px;color:#a5b0cf}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:span 2}.field label{font-size:11px;color:#b4bfdc;font-weight:800}.control{width:100%;min-height:44px;padding:10px 12px;border:1px solid #ffffff2a;background:#101935b9;border-radius:12px;color:#f6f7ff;outline:0}.control:focus{border-color:#978df8;box-shadow:0 0 0 3px #897dff24}.control[type=date]{color-scheme:dark}.checkbox-row{display:flex;align-items:center;gap:10px;margin-top:13px;color:var(--sub);font-size:12px}.checkbox-row input{accent-color:#8c7dff;width:16px;height:16px}.modal-foot{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-top:24px;padding-top:18px;border-top:1px solid #ffffff14}.modal-foot small{font-size:11px;color:#8190b4;line-height:1.4}.modal-foot button{min-width:140px}.accent-note{color:#70e6cf;font-weight:700}
    .manage-tabs{display:flex;gap:6px;margin:17px 0}.manage-tab{padding:9px 12px;border:1px solid #ffffff1d;border-radius:10px;background:#ffffff08;color:var(--sub);font-weight:800;font-size:12px}.manage-tab.active{background:#897cfa44;color:white;border-color:#958dfa}.catalog-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:340px;overflow:auto;margin:15px 0 0}.catalog-line{display:flex;align-items:center;justify-content:space-between;gap:7px;border:1px solid #ffffff18;border-radius:12px;padding:9px 10px;background:#ffffff09}.catalog-line b{font-size:12px;font-weight:750}.catalog-line small{display:block;color:#93a0be;font-size:10px;margin-top:3px}.catalog-line .round-action{flex:none}.hint{font-size:11px;color:var(--sub);margin-top:9px;line-height:1.6}.modal-danger{margin-top:18px;border:1px solid #ff929947;border-radius:14px;padding:14px;display:flex;justify-content:space-between;align-items:center;gap:10px}.btn-danger{border:1px solid #f7869e74;color:#ffb2c4;background:#ff638316}
    .toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,25px);z-index:40;background:#e8f6ff;color:#152243;padding:12px 19px;border-radius:14px;box-shadow:0 15px 50px #0009;font-weight:800;font-size:12px;opacity:0;pointer-events:none;transition:transform .25s,opacity .25s;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.mobile-menu{display:none}.only-mobile{display:none}
    @media(max-width:1160px){.app{padding:22px}.layout{grid-template-columns:228px minmax(0,1fr);gap:18px}.stats{gap:9px}.stat{padding:17px 13px}.hero-art{margin-right:6px;width:150px}.hero-art-inner{width:122px;height:122px}.hero-art-inner span{font-size:69px}.category-grid{gap:11px}.cat-card{padding:14px 11px 6px}.qty{gap:2px}.item{gap:8px}.item-name{font-size:12px}}
    @media(max-width:900px){.layout{grid-template-columns:minmax(0,1fr)}.sidebar{display:none}.sidebar.mobile-open{display:flex;position:fixed;z-index:12;top:84px;left:15px;right:15px;max-height:75vh;overflow:auto;background:#111936;border:1px solid #ffffff45;border-radius:22px;padding:15px;box-shadow:0 35px 100px #000b}.mobile-menu{display:inline-flex}.save-indicator{display:none}.sidebar-card{display:none}.tiny-note{display:none}.trip-nav{max-height:42vh}.only-mobile{display:inline}.hero{min-height:205px}.hero-art{width:178px}.hero-art-inner{width:135px;height:135px}}
    @media(max-width:630px){.app{padding:14px 13px 26px}.header{margin-bottom:16px}.brand-icon{width:40px;height:40px;border-radius:13px}.brand-name{font-size:19px}.brand-sub{font-size:8px}.top-actions .btn-primary span{display:none}.top-actions .btn-primary{padding:8px 12px;min-height:39px}.top-actions{gap:7px}.header .btn{padding:9px 10px}.hero{padding:27px 20px;min-height:205px;border-radius:22px}.hero h1{font-size:31px;max-width:300px}.hero-copy{max-width:83%}.hero-label{font-size:10px}.hero-sub{font-size:12px}.hero-chips{gap:6px}.hero-chip{font-size:10px;padding:6px 8px}.hero-art{position:absolute;right:-42px;bottom:-25px;opacity:.6;width:130px;height:126px;transform:rotate(18deg)}.hero-art-inner{width:114px;height:114px;border-radius:34px}.hero-art-inner span{font-size:58px}.sparkle{display:none}.hero-action{right:10px;top:10px;padding:7px 9px;font-size:11px}.hero-action span{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 21px}.stat{padding:14px 14px 13px;border-radius:16px}.stat-value{font-size:27px}.stat-top{margin-bottom:7px}.dash-header{gap:12px}.dash-header h2{font-size:20px}.dash-actions{width:100%}.dash-actions .btn{flex:1;font-size:11px;padding:8px}.filterbar{align-items:stretch}.filter-tabs{width:100%;justify-content:space-between}.tab{flex:1;padding:9px 9px;font-size:11px}.filter-tools{justify-content:space-between;width:100%}.search-wrap{width:100%;flex:1}.select-compact{max-width:134px;font-size:12px}.category-grid{grid-template-columns:1fr}.cat-card.wide,.empty-state{grid-column:span 1}.cat-card{padding:15px 14px 8px}.item-name{font-size:13px}.item{gap:10px}.qty{gap:6px}.modal-overlay{padding:0;align-items:flex-end}.modal,.modal.sm{max-height:93dvh;width:100%;padding:25px 19px 27px;border-radius:26px 26px 0 0}.modal h2{font-size:25px}.reason-grid{gap:8px}.reason{padding:13px 8px;min-height:96px}.reason-emoji{font-size:24px}.reason strong{font-size:11px}.reason small{font-size:9px}.form-grid{gap:10px}.catalog-list{grid-template-columns:1fr}.modal-foot{align-items:stretch;flex-direction:column}.modal-foot button{width:100%}.footer{padding-top:24px}}
    @media(max-width:350px){.reason-grid{grid-template-columns:repeat(2,1fr)}.brand-sub{display:none}.hero h1{font-size:26px}}
    @media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
    @media print{body{background:#fff;color:#151929}body:before,body:after,.header,.sidebar,.hero-art,.hero-action,.stats,.dash-actions,.filterbar,.footer,.btn,.item-edit,.qty button,.modal-overlay,.banner{display:none!important}.app{padding:0;max-width:none}.layout{display:block}.hero{min-height:0;padding:10px 0 14px;background:none;color:#14182e;box-shadow:none}.hero-label,.hero-sub,.hero-chip{color:#222}.hero-chip{background:#eee}.progress-wrap,.cat-card{border-color:#ccc;background:#fff;box-shadow:none;color:#151929}.category-grid{grid-template-columns:1fr 1fr;gap:12px}.cat-card{break-inside:avoid}.item-name,.cat-title{color:#111}.item-note{color:#666}.check{border-color:#555}.check.checked{background:#111}.check.checked .icon{color:white}.item.checked .item-name{color:#666}.cat-sub,.stat-foot{color:#666}}

    /* Calendario viaggio: selezione continua ispirata a Working Calendar */
    .date-planner{grid-column:1/-1;margin-top:2px;border-radius:21px;border:1px solid #b0b6ff32;background:linear-gradient(140deg,rgba(116,100,235,.12),rgba(44,214,218,.055));padding:16px 16px 13px;overflow:hidden;box-shadow:inset 0 1px #ffffff13}
    .date-planner-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:13px}
    .date-planner-title{font-weight:850;font-size:13px;display:flex;align-items:center;gap:9px;letter-spacing:-.015em}
    .date-planner-title .icon{color:var(--cyan)}
    .date-planner-tools{display:flex;align-items:center;gap:6px}
    .calendar-action{min-width:34px;height:32px;display:grid;place-items:center;border-radius:10px;border:1px solid #ffffff20;background:#ffffff0b;color:#e9ebff;font-weight:800}
    .calendar-action:hover{background:#7f74ff34;border-color:#a59bff85}
    .cal-caption{font-size:10px;color:#acb7d7;line-height:1.5;margin:0 0 12px}
    .range-summary{display:grid;grid-template-columns:1fr 1fr auto;gap:9px;margin-bottom:13px}
    .range-summary-card{border:1px solid #ffffff1d;background:#0e1732a9;border-radius:13px;padding:10px 12px;min-width:0}
    .range-summary-card .summary-eyebrow{font-size:9px;letter-spacing:.12em;font-weight:800;text-transform:uppercase;color:#a4b0ce}
    .range-summary-card strong{display:block;margin-top:5px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f6f7ff}
    .range-summary-card strong.missing{color:#8792b4;font-weight:650}
    .range-summary-card.duration{min-width:100px;background:linear-gradient(150deg,#6559b64d,#298d9f39);border-color:#8b80fc5b;text-align:center}
    .range-summary-card.duration strong{color:#66ebda;font-size:18px;margin-top:3px;font-weight:900}
    .calendar-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
    .calendar-month{background:rgba(10,18,40,.55);border:1px solid #ffffff12;border-radius:16px;padding:12px 7px 11px;min-width:0;overflow:hidden}
    .calendar-month-title{font-size:12px;font-weight:850;text-transform:capitalize;text-align:center;margin-bottom:12px;color:#f5f5ff;letter-spacing:.02em}
    .calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0}
    .calendar-weekdays{margin-bottom:4px}.cal-weekday{font-size:10px;color:#7886a9;font-weight:750;text-align:center;padding:3px 0 8px}
    .cal-day{position:relative;display:grid;place-items:center;width:100%;height:35px;border:0;border-radius:0;background:transparent;color:#c9d2e8;font-size:11px;font-weight:730;isolation:isolate;min-width:0;touch-action:pan-y;-webkit-tap-highlight-color:transparent}
    .cal-day.blank{pointer-events:none}
    .cal-day:before{content:"";position:absolute;inset:3px 0;z-index:-2;background:transparent;pointer-events:none;transition:background .12s}
    .cal-day.in-range:before{background:#7772e34d}
    .cal-day.in-range.preview:before{background:#5ed5da34}
    .cal-day.is-start:before{border-radius:20px 0 0 20px}
    .cal-day.is-end:before{border-radius:0 20px 20px 0}
    .cal-day.single-day:before{border-radius:20px}
    .cal-day .day-number{height:31px;width:min(31px,100%);display:grid;place-items:center;position:relative;border-radius:50%;z-index:1;transition:background .13s,transform .13s}
    .cal-day:hover:not(.blank) .day-number{background:#b1a8ff3c;transform:scale(1.07)}
    .cal-day.is-start .day-number,.cal-day.is-end .day-number{background:linear-gradient(135deg,#8c7cff,#a36df6 60%,#e178d6);color:white;font-weight:900;box-shadow:0 4px 17px #8a65f47a}
    .cal-day.is-end.preview .day-number{background:linear-gradient(135deg,#38d7d2,#6785ff);box-shadow:0 4px 15px #3ed4d968}
    .cal-day.is-today:not(.is-start):not(.is-end) .day-number{outline:1px solid #65e4d9a0;outline-offset:-2px;color:#7eece0}
    .cal-day.is-weekend:not(.is-start):not(.is-end){color:#9eaac9}
    .cal-day:focus-visible{z-index:3;outline:2px solid #d4caff;outline-offset:-2px;border-radius:7px}
    .cal-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px}
    .cal-bottom-note{font-size:10px;color:#91a0c2;line-height:1.5}
    .cal-text-button{border:0;background:none;color:#a9a2ff;font-size:11px;font-weight:800;padding:6px;white-space:nowrap}
    .cal-text-button:hover{color:white;text-decoration:underline}
    .duration-field .control{font-size:18px;font-weight:850;color:#6ee6d9;letter-spacing:.02em}
    .duration-field .hint{margin-top:0}
    @media(max-width:630px){.date-planner{padding:13px 11px 12px;border-radius:17px}.calendar-months{grid-template-columns:1fr}.calendar-months .calendar-month:nth-child(2){display:none}.range-summary{gap:6px;grid-template-columns:1fr 1fr}.range-summary-card{padding:9px 10px}.range-summary-card strong{font-size:11px}.range-summary-card.duration{grid-column:span 2;display:flex;align-items:center;justify-content:space-between;min-width:0;padding:7px 12px}.range-summary-card.duration strong{margin:0}.calendar-month{padding:10px 7px}.cal-day{height:39px;font-size:12px}.cal-day .day-number{width:33px;height:33px}.cal-day:before{inset:4px 0}.date-planner-top{margin-bottom:9px}.cal-caption{margin-bottom:9px}.form-grid{row-gap:13px}}

    /* VALIGIA v1.6 · profilo personale e navigazione mesi nei riquadri */
    .calendar-month-heading{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:3px;margin-bottom:11px;padding:0 5px}
    .calendar-month-heading .calendar-month-title{margin-bottom:0;font-size:12px;white-space:nowrap;letter-spacing:-.01em}
    .calendar-month-nav{width:28px;min-width:28px;height:28px;border-radius:9px;font-size:22px;font-weight:500;line-height:1;background:linear-gradient(145deg,#8a7bff27,#50ddcd13)}
    .calendar-month-nav:hover{background:#8377ff55}
    .calendar-today{border:1px solid #75d7cf52;background:#4eddd51a;border-radius:10px;padding:7px 12px;color:#84eae0;font-size:11px;font-weight:800}
    .calendar-today:hover{background:#69e3d73c}
    .profile-sidebar-btn{margin:0 4px;justify-content:center;font-size:12px;background:linear-gradient(100deg,#7565e536,#238e9c26);border-color:#988afa44}
    .profile-top-button{border-color:#8c85fa46;background:#766bdb28}
    .profile-inline-link{border:0;background:transparent;color:#8be9e0;font-size:12px;font-weight:800;padding:3px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
    .profile-inline-link:hover{color:white}
    .profile-pretrip{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap;border:1px solid #777de342;border-radius:14px;padding:11px 13px;background:#6666d51a;color:#afbddd;font-size:11px;margin:-9px 0 17px}.profile-pretrip b{color:#e3e2ff}
    .profile-form-hint{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border:1px solid #7adad646;border-radius:14px;padding:12px 14px;background:linear-gradient(110deg,#4c8cc323,#7362df1c);color:#ccd9f4;font-size:11px;line-height:1.5;margin-top:16px}
    .profile-form-hint b{color:#fff}
    .profile-namebox{display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,auto);gap:14px;align-items:end;margin-bottom:21px}
    .profile-namebox label{display:block;color:#aebcda;font-size:11px;font-weight:800;margin-bottom:6px}
    .profile-total{border:1px solid #857ff45e;border-radius:14px;min-height:46px;padding:10px 13px;background:#8d7aff18}
    .profile-total span{display:block;font-size:9px;letter-spacing:.1em;color:#9facd4;font-weight:800}
    .profile-total b{display:block;margin-top:4px;font-size:13px;color:#6ce5d9}
    .profile-section-label{color:#b9c1ed;font-size:11px;font-weight:880;letter-spacing:.06em;margin:15px 0 9px;text-transform:uppercase}
    .profile-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
    .profile-type{border:1px solid #ffffff25;background:#ffffff0a;border-radius:13px;padding:10px 9px;color:#dfe5ff;text-align:left;display:flex;align-items:center;gap:8px;min-width:0}
    .profile-type span{font-size:20px}.profile-type b{font-size:11px;line-height:1.35}
    .profile-type.selected{border-color:#a69afd;background:linear-gradient(125deg,#776aff49,#51d9d328);color:#fff;box-shadow:inset 0 1px #ffffff17}
    .profile-cats{display:flex;gap:7px;overflow-x:auto;padding-bottom:8px;margin-bottom:10px}
    .profile-cat{border:1px solid #ffffff25;background:#ffffff0c;border-radius:12px;padding:9px 10px;min-width:max-content;color:#acb9d9;font-size:11px;font-weight:750;display:flex;align-items:center;gap:8px}
    .profile-cat em{font-size:10px;font-style:normal;color:#8b9dbd;min-width:23px;border-radius:7px;background:#ffffff12;padding:2px 5px;text-align:center}
    .profile-cat.selected{border-color:#a49aff8a;color:#fff;background:#8d7fff35}
    .profile-cat.selected em{color:#70ead9;background:#64d6d31b}
    .profile-tools{display:flex;align-items:center;gap:12px;margin-bottom:11px;flex-wrap:wrap}
    .profile-tools .search-wrap{width:auto;flex:1;min-width:175px}
    .profile-only{display:flex;align-items:center;gap:7px;color:#c3cce7;font-size:11px;font-weight:700;white-space:nowrap}
    .profile-only input{accent-color:#8b7bff;width:16px;height:16px}
    .profile-list-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}
    .profile-list-header b{font-size:13px}.profile-list-header span{color:#72e5db;font-size:11px;font-weight:800}
    .profile-items{max-height:315px;overflow-y:auto;border:1px solid #ffffff19;border-radius:15px;background:rgba(9,15,33,.55);padding:5px 11px}
    .profile-item{display:flex;align-items:center;gap:11px;min-height:53px;padding:9px 2px;border-bottom:1px solid #ffffff13}
    .profile-item:last-child{border-bottom:0}.profile-item:not(.enabled){opacity:.7}
    .profile-item-info{flex:1;min-width:0}.profile-item-info b{font-size:12px}.profile-item-info small{display:block;color:#8294b7;font-size:10px;margin-top:4px;line-height:1.4;word-break:break-word}
    .profile-toggle{flex:none;width:26px;height:26px;display:grid;place-items:center;border-radius:9px;border:1px solid #7983ac;color:#9bafd2;background:#ffffff0c}
    .profile-toggle.enabled{background:linear-gradient(135deg,#7a6cfb,#48cfca);border-color:transparent;color:white}
    .profile-edit{border:0;border-radius:8px;color:#b7b2ff;background:#847bfd20;width:31px;height:31px;display:grid;place-items:center}
    .profile-edit:hover{background:#a08dff52}
    .profile-empty{text-align:center;color:#a1aac9;font-size:12px;line-height:1.6;padding:25px 10px}
    .profile-list-footer{display:flex;justify-content:flex-start;margin-top:12px}
    .profile-usage{font-size:11px;color:#a2afd0;margin:0 0 9px;line-height:1.5}.profile-usage b{color:#81ede1}
    .profile-help{color:#929fc3;font-size:11px;line-height:1.7;margin-top:14px;border-left:3px solid #82e5da76;padding-left:12px}
    @media(max-width:630px){.profile-top-button{padding:7px!important}.profile-top-button span{display:none}.profile-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-type{min-height:49px}.profile-namebox{grid-template-columns:1fr 1fr}.profile-tools .search-wrap{width:100%;flex-basis:100%}.profile-items{max-height:290px}.calendar-month-heading{grid-template-columns:32px 1fr 32px}.calendar-month-heading .calendar-month-title{font-size:13px}.calendar-month-nav{width:29px;height:29px}.profile-form-hint{gap:6px}}
