:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#483f36;background:#f8f6f1;font-synthesis:none;font-size:14px;--paper:#fffefa;--cream:#f8f6f1;--brown:#745641;--ink:#483f36;--muted:#8a8276;--line:#e9e4da;--serif:Georgia,"Times New Roman",serif;--shadow:0 4px 20px #55432b03}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.45}a{color:var(--brown)}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #a58d6f;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #af9f87;outline-offset:2px}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{font-weight:500}h1{font-family:var(--serif);font-size:34px;letter-spacing:-.8px;line-height:1.2;margin-bottom:12px}h2{font-size:19px;letter-spacing:-.35px;line-height:1.4;margin-bottom:12px}h3{font-size:17px;line-height:1.45;margin-bottom:8px}p{line-height:1.7;margin-bottom:16px}svg{flex-shrink:0;vertical-align:middle}button{border:0;background:none}input,textarea,select{color:var(--ink);background:#fffefa;border:1px solid #ddd6ca;border-radius:8px;padding:12px 13px;min-height:44px;min-width:0}input::placeholder,textarea::placeholder{color:#aaa194}textarea{resize:vertical;line-height:1.65}select{cursor:pointer}input[type=checkbox]{accent-color:var(--brown);width:19px;height:19px;min-height:19px}fieldset{border:1px solid var(--line);border-radius:10px;padding:16px;min-width:0}legend{padding:0 8px;font-weight:500}.sr-only,.file-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.skip-link{position:fixed;left:20px;top:-100px;z-index:200;background:var(--paper);padding:15px}.skip-link:focus{top:12px}.app-shell{display:flex;min-height:100dvh}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:#f1ede4;border-right:1px solid #e6e0d4;display:flex;flex-direction:column;z-index:50}.sidebar-brand{padding:35px 23px 34px}.brand{display:flex;gap:11px;align-items:center;padding:0;text-align:left;white-space:nowrap;font-family:var(--serif);font-size:25px;letter-spacing:-.8px;line-height:1.05;color:#604d3c}.brand-mark{background:#e6dfd0;width:37px;height:45px;border-radius:22px 22px 9px 9px;display:grid;place-items:center}.brand-tagline{font-family:Inter,-apple-system,sans-serif;display:block;font-size:7px;letter-spacing:1.4px;line-height:1.4;margin-top:8px}.sidebar-scroll{flex:1;overflow-y:auto;padding:0 16px;scrollbar-width:thin}.nav-label{font-size:9px;letter-spacing:1.7px;color:#9c9384;display:block;margin:0 14px 14px}.primary-nav,.area-nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;width:100%;min-height:44px;border-radius:7px;text-align:left;color:#81776a;font-size:12px;position:relative;transition:background .15s,color .15s}.nav-item:hover{color:#5d4c3b;background:#eae4d8}.nav-item.active{background:#e5dcce;color:#69503c;font-weight:600}.nav-item.active:before{position:absolute;content:"";width:3px;height:17px;background:#85694d;left:-16px;top:14px;border-radius:0 3px 3px 0}.nav-dot{width:6px;height:6px;background:#b5997a;border-radius:50%;margin-left:auto}.areas-label{margin-top:30px}.area-nav .nav-item{font-size:12px;padding-top:10px;padding-bottom:10px}.sidebar-wisdom{text-align:center;padding:28px 0 26px;color:#8b7c68}.wisdom-sparkle{font-size:26px;font-family:var(--serif);color:#aa9677;display:block;line-height:1;margin-bottom:10px}.sidebar-wisdom p{font-family:var(--serif);font-size:17px;font-style:italic;line-height:1.55;margin-bottom:8px}.sidebar-wisdom>span:last-child{font-size:9px;color:#a09380}.sidebar-bottom{border-top:1px solid #e2dbce;padding:15px 16px 0}.sidebar-bottom>.nav-item{font-size:12px;padding-top:8px;padding-bottom:10px}.sidebar-bottom>.nav-item svg:last-child{margin-left:auto}.profile-row{display:flex;align-items:center;gap:9px;border-top:1px solid #e2dbce;margin-top:12px;padding:18px 0 21px}.profile-avatar{width:34px;height:34px;border-radius:50%;background:#e0d7c8;display:grid;place-items:center;color:#806d53}.profile-row strong{font-size:10px;display:block;font-weight:500}.profile-row>div>span{display:block;font-size:9px;color:#9b907f;margin-top:4px}.profile-row>.icon-button{margin-left:auto}.main-shell{margin-left:244px;width:calc(100% - 244px);min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fcfaf6;display:flex;align-items:center;justify-content:space-between;padding:0 38px}.topbar-label{font-size:9px;letter-spacing:2px;color:#a09380}.topbar-actions,.topbar-left{display:flex;align-items:center;gap:20px}.topbar-divider{height:21px;width:1px;background:var(--line)}.storage-status{font-size:10px;display:flex;gap:7px;align-items:center;color:#8e8878}.status-dot{width:6px;height:6px;background:#8d9979;display:inline-block;border-radius:50%;flex-shrink:0}.storage-error .status-dot{background:#a25f43}.storage-error{color:#9c5039}.icon-button{width:36px;height:36px;min-width:36px;border-radius:7px;display:inline-flex;justify-content:center;align-items:center;color:#968a77;padding:0;transition:background .15s}.icon-button:hover{background:#efeae0;color:#65513e}.content{max-width:1510px;margin:auto;padding:25px 38px 0;outline:0!important}.workspace-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:31px;min-height:25px;gap:16px}.breadcrumb{font-size:10px;color:#a19786;display:flex;align-items:center;gap:10px}.breadcrumb strong{font-weight:400;color:#786b59}.mode-control{display:flex;align-items:center;gap:7px;color:#9b8e7b;font-size:10px;white-space:nowrap}.mode-control select{padding:5px 20px 5px 3px;background:none;border:0;font-size:10px;color:#78674f;min-height:32px}.welcome-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px;gap:20px}.welcome-heading h1{margin-bottom:0;font-size:32px}.eyebrow{font-size:9px;letter-spacing:1.5px;line-height:1.5;font-weight:500;color:#9b8a73;text-transform:uppercase;display:inline-flex;align-items:center;gap:7px;margin-bottom:10px}.welcome-heading .eyebrow{letter-spacing:.8px;text-transform:none;font-size:10px;margin-bottom:10px;color:#9a8b76}.welcome-heading .eyebrow>span{color:#b0a38f}.gentle-note{font-family:var(--serif);font-size:14px;font-style:italic;color:#a49a87;margin-bottom:5px;white-space:nowrap}.hero{border:1px solid #e8e0d2;min-height:277px;position:relative;overflow:hidden;border-radius:13px;background:linear-gradient(105deg,#eee8dc,#f1ede3 72%,#eae4d7);margin-bottom:22px;display:flex;align-items:center;padding:32px 36px}.hero-copy{z-index:1;position:relative}.hero .eyebrow{font-size:8px;letter-spacing:2.2px;color:#a08b6c}.hero h2{font-family:var(--serif);font-size:40px;line-height:1.13;letter-spacing:-1px;color:#614d38;margin-bottom:15px}.hero h2 em{font-weight:400;color:#8c7356}.hero p{font-size:11px;line-height:1.8;color:#9a8a74;margin-bottom:20px}.hero .button{font-size:10px;min-height:39px;padding:11px 15px;border-radius:6px;gap:10px}.hero-botanical{position:absolute;width:370px;height:300px;right:25px;top:-8px;opacity:.9}.hero-caption{position:absolute;right:34px;bottom:20px;display:flex;align-items:center;gap:11px;color:#ae9e85}.hero-caption .tiny{font-size:6px;letter-spacing:1.3px}.caption-line{width:27px;height:1px;background:#c0b196}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #ded6c8;background:#fffdf7;padding:12px 17px;border-radius:8px;min-height:44px;font-size:12px;font-weight:500;transition:background .15s,transform .15s;line-height:1.3;text-decoration:none}.button:hover:not(:disabled){background:#eee7da;border-color:#c9baa4}.button.primary{color:#fff9ef;background:var(--brown);border-color:var(--brown)}.button.primary:hover:not(:disabled){background:#5f4431;border-color:#5f4431}.button.small{padding:8px 12px;font-size:11px;min-height:36px}.button.danger{color:#a55a46;border-color:#e4cfc3;background:#fffaf5}.button.active{background:#e8dece;border-color:#a9987e}.button.text-button{border-color:transparent;background:transparent}.text-link{padding:0;color:#8d7455;font-size:10px;display:inline-flex;align-items:center;gap:8px;min-height:32px}.text-link:hover{text-decoration:underline}.panel{background:var(--paper);border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow);padding:24px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat-card{display:flex;align-items:center;gap:14px;text-align:left;padding:19px;min-width:0;transition:transform .15s,box-shadow .15s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 5px 15px #5d46220b}.icon-tile{width:41px;height:43px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:10px;color:#978063;background:#eee7da}.icon-tile.large{width:64px;height:64px}.sand{background:#eee6d8;color:#9b805a}.terra{background:#f1e2d8;color:#ae8164}.sage{background:#e9ebdf;color:#899172}.olive{background:#e7e8dc;color:#889071}.rose{background:#f0e6df;color:#b28c79}.taupe{background:#eae6df;color:#9c8b78}.stat-card .eyebrow{font-size:7px;letter-spacing:1.1px;margin-bottom:5px}.stat-card strong{display:block;font-size:13px;font-weight:500;margin-bottom:7px;letter-spacing:-.2px}.stat-card .tiny{font-size:8px;display:block;line-height:1.4}.stat-arrow{margin-left:auto;color:#b6a68d}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);gap:22px;align-items:start}.dashboard-main{display:grid;gap:19px;min-width:0}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}.card-heading h2{font-size:15px;letter-spacing:-.25px;margin-bottom:0}.card-heading-title{display:flex;align-items:center;gap:11px;min-width:0}.card-heading-title .icon-tile{width:34px;height:35px;border-radius:8px}.card-heading-title .tiny{display:block;font-size:9px;margin-top:5px}.tiny{font-size:10px}.small{font-size:12px}.muted{color:var(--muted)}.task-list{display:grid}.task-row{padding:15px 0;border-bottom:1px solid #f0ebe2;display:flex;gap:12px;align-items:center;min-width:0}.task-row:last-child{border-bottom:0}.task-check{width:19px;height:19px;min-width:19px;border:1px solid #d5cdbf;border-radius:50%;padding:0;display:grid;place-items:center;color:#fffcf5;position:relative}.task-check:before{content:"";position:absolute;inset:-10px}.task-check:hover{border-color:#a78b68;background:#f5eee1}.task-check.checked{background:#a5ac8d;border-color:#a5ac8d}.task-content{min-width:0;flex:1}.task-title{font-size:12px;color:#635747;display:block;overflow-wrap:anywhere;line-height:1.6}.completed .task-title{text-decoration:line-through;color:#a49e90}.task-meta{font-size:8px;color:#a69a88;display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:5px}.category-dot{width:5px;height:5px;border-radius:50%;display:inline-block}.category-dot.terra{background:#bd967b}.category-dot.olive{background:#a0a683}.category-dot.sage{background:#a0ab8d}.category-dot.sand{background:#baa174}.category-dot.taupe{background:#a69885}.category-dot.rose{background:#c3a295}.priority-label{background:#f3e9db;color:#aa8760;border-radius:4px;padding:4px 6px;font-size:7px}.task-actions{display:flex;align-items:center;flex-shrink:0;gap:2px}.task-actions .icon-button{width:30px;min-width:30px;height:32px}.active-label{color:#839073}.running-dot{width:8px;height:8px;border-radius:50%;background:#8b9c79;margin:10px}.active-task{background:linear-gradient(90deg,transparent,#f7f8f0);border-radius:6px}.card-bottom-link{display:flex;justify-content:center;margin:17px auto -9px;font-size:9px;color:#ab9679}.next-step{border:1px solid #e4e6d8;border-radius:10px;background:#eff0e7;padding:21px 24px;position:relative}.next-step-heading{display:flex;align-items:center;gap:9px;margin-bottom:9px}.next-step-heading .icon-tile{width:23px;height:25px;background:transparent}.next-step .eyebrow{font-size:8px;letter-spacing:1.1px;color:#969d81;margin-bottom:0}.next-step h3{font-family:var(--serif);font-size:19px;color:#697257}.next-step p{font-size:10px;color:#989c86;margin-bottom:10px}.next-step .text-link{color:#788366;font-size:10px}.assistant-panel{padding:22px 22px 16px;min-width:0}.assistant-panel .card-heading{margin-bottom:14px}.chat-label{font-size:8px;color:#a49a88;display:flex;align-items:center;gap:6px;margin-left:45px;margin-bottom:17px}.chat-label .status-dot{width:4px;height:4px}.chat-messages{max-height:300px;min-height:160px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:4px 0 8px}.message{display:flex;align-items:flex-start;gap:9px;line-height:1.7;margin-bottom:13px;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}.chat-avatar{width:26px;min-width:26px;height:26px;display:grid;place-items:center;background:#f0e7dc;color:#ab8c67;border-radius:50%}.message>div{border-radius:0 9px 9px;background:#f5f1e8;padding:14px 15px;flex:1}.message p{margin-bottom:0;font-size:11px;color:#8c7c66;line-height:1.8}.message p+p{margin-top:12px}.message.user{margin-left:45px}.message.user>div{background:#eae4d8}.message.user p{color:#78634b}.chat-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:15px;margin-top:15px}.chat-suggestions button{font-size:8px;color:#9c8a73;border:1px solid #e5ddcf;padding:7px 8px;border-radius:5px;min-height:30px;background:#fdfaf4}.chat-suggestions button:hover{background:#eee6d8}.chat-input{border:1px solid #e2d9ca;display:flex;align-items:center;padding:4px 4px 4px 11px;border-radius:8px;gap:4px;background:#fffdf8}.chat-input input{flex:1;border:0;padding:7px 0;background:none;min-width:0;font-size:10px;min-height:32px;outline:0}.chat-input:focus-within{outline:2px solid #b3a08a}.chat-input button{width:30px;height:30px;border-radius:5px;background:#907253;color:#fff8ed;display:grid;place-items:center}.chat-footnote{display:flex;align-items:center;gap:5px;justify-content:center;font-size:7px;color:#b2a894;margin-top:11px;margin-bottom:0}.full-chat{max-width:850px;margin:0 auto;padding:28px}.full-chat .chat-messages{min-height:280px;max-height:500px}.full-chat .message,.full-chat .message p{font-size:14px}.full-chat .chat-input input{font-size:14px;min-height:45px}.full-chat .chat-input button{width:40px;height:40px}.full-chat .chat-footnote{font-size:10px}.full-chat .chat-suggestions button{font-size:11px;min-height:38px}.full-chat .chat-label{font-size:10px}.chat-help{display:flex;gap:12px;padding:20px 0 0;color:#a69985}.chat-help p{font-size:11px;color:#a69985;margin:0}.chat-help strong{font-weight:500;color:#827059}.life-section{margin-top:32px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.section-title h2{font-size:21px;font-family:var(--serif);margin-bottom:0}.section-title .eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:7px}.section-title>.tiny{font-size:9px;color:#a69a87}.life-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:11px}.life-card{display:flex;align-items:flex-start;flex-direction:column;text-align:left;border:1px solid var(--line);border-radius:9px;background:#fffdf8;padding:17px 14px;min-width:0;position:relative;transition:transform .15s}.life-card:hover{transform:translateY(-3px)}.life-card .icon-tile{width:32px;height:34px;border-radius:8px;margin-bottom:15px}.life-card .icon-tile svg{width:18px}.life-card strong{font-size:10px;font-weight:500;line-height:1.5;margin-bottom:6px;letter-spacing:-.1px}.life-card>span:not(.icon-tile){font-size:7px;line-height:1.5;color:#a59882}.life-card>svg{position:absolute;top:23px;right:12px;width:12px;color:#c3b59e}.dashboard-bottom{display:flex;gap:6px;align-items:center;justify-content:center;font-size:8px;color:#b1a58f;margin:25px 0}.app-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:24px 0 23px;margin-top:35px;color:#b6ad9b;font-size:8px;gap:15px}.app-footer>span:first-child{font-family:var(--serif);font-style:italic;font-size:12px;color:#a89a83}.footer-dot{padding:0 6px}.mobile-menu,.mobile-close,.mobile-brand{display:none}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:20px}.page-heading h1{font-size:32px}.page-heading p:last-child{margin-bottom:0;font-size:12px}.page-heading .eyebrow{font-size:8px}.tasks-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.tasks-toolbar>select{font-size:11px;padding:10px}.segmented{display:flex;background:#f1ede5;padding:4px;border-radius:7px}.segmented button{font-size:11px;border-radius:5px;padding:9px 14px;min-height:34px;color:#a0927b}.segmented .selected{background:#fffdf7;color:#765d42;box-shadow:0 1px 5px #5841220a}.tasks-panel:not(.compact-tasks) .task-title{font-size:14px}.tasks-panel:not(.compact-tasks) .task-meta{font-size:10px}.tasks-panel:not(.compact-tasks) .task-row{padding:19px 0}.section-note{display:flex;gap:6px;align-items:center;border-top:1px solid var(--line);padding-top:20px;margin-top:20px;margin-bottom:0;line-height:1.6}.modal-overlay{position:fixed;inset:0;background:#372d2055;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;overflow-y:auto}.modal{width:100%;max-width:510px;max-height:calc(100dvh - 48px);overflow:auto;padding:28px;box-shadow:0 20px 80px #38291e20}.modal h2{font-family:var(--serif);font-size:25px}.modal>p{font-size:13px;color:#91836e}.stack-form,.recipe-form{display:grid;gap:18px}.form-field{display:flex;flex-direction:column;gap:9px;font-size:11px;font-weight:500;color:#84735b;min-width:0}.form-field>span{display:flex;gap:7px;align-items:center}.form-field input,.form-field textarea,.form-field select{width:100%;font-size:13px;font-weight:400}.form-row,.recipe-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:10px}.info-banner,.local-warning,.error-banner,.success-banner,.notice{padding:17px 20px;border-radius:9px;border:1px solid #e3dfd0;background:#f1efe4;display:flex;gap:12px;align-items:flex-start;color:#96866c;font-size:12px;margin-bottom:22px;line-height:1.7}.info-banner>svg,.local-warning>svg{margin-top:3px}.info-banner p,.local-warning p{margin:0}.info-banner strong,.local-warning strong{font-weight:500;color:#7e6c52}.error-banner{background:#fbede7;color:#a55740;border-color:#eed4c6}.success-banner,.notice{background:#eff3e9;color:#788562;border-color:#dce2cf}.storage-banner p{margin:6px 0 0}.storage-banner strong{font-weight:600}.gentle-mode-note{display:flex;gap:8px;align-items:center;padding:12px 16px;border-radius:7px;background:#e9ecdf;color:#879171;font-size:11px;line-height:1.6;margin-bottom:20px}.empty-state{text-align:center;padding:35px 20px;color:#ab9c85}.empty-state>svg{margin-bottom:14px;color:#a49b82}.empty-state h3{font-family:var(--serif);font-size:21px}.empty-state p{font-size:12px;line-height:1.7}.empty-state .button{margin-top:5px}.badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:5px;background:#f0ebdf;color:#a08a69;font-size:9px;line-height:1.5;white-space:nowrap}.stack{display:grid;gap:20px}.inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.week-panel{margin-bottom:22px}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}.day-cell{padding:18px 5px;display:flex;flex-direction:column;align-items:center;gap:13px;border-radius:9px;border:1px solid var(--line);background:#faf8f2;font-size:11px;color:#a0927c}.day-cell strong{font-family:var(--serif);font-size:25px;font-weight:400;color:#806d51}.day-cell.selected{background:#7e6347;border-color:#7e6347;color:#d9cbb4}.day-cell.selected strong{color:#fff8ec}.day-indicator{width:4px;height:4px;border-radius:50%;background:transparent}.has-tasks{background:#b2a07e}.selected .has-tasks{background:#e1ceb0}.day-cell.today:not(.selected){border-color:#b7a182}.planner-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);gap:22px;align-items:start}.planner-grid>.panel .card-heading{align-items:flex-start}.planner-grid .card-heading h2{font-family:var(--serif);font-size:21px}.calendar-event{display:flex;gap:10px;margin-top:20px}.calendar-event strong{font-size:12px;font-weight:500}.rest-card{padding:27px;border-radius:11px;background:#e9ecdf;color:#959d7c}.rest-card h3{font-family:var(--serif);font-size:23px;margin-top:15px;color:#7f8965}.rest-card p{font-size:12px;margin-bottom:0}.amar-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:23px}.metric-card{display:flex;flex-direction:column;gap:8px;position:relative}.metric-card>svg{position:absolute;right:20px;top:22px;color:#b9a482}.metric-card .eyebrow{font-size:8px;margin-bottom:0}.metric-card strong{font-family:var(--serif);font-size:24px;font-weight:400}.metric-card>.muted{font-size:10px;line-height:1.7}.arabic-card{align-items:center;background:#f0eee3;justify-content:center;text-align:center}.arabic{font-family:Geeza Pro,Noto Naskh Arabic,Traditional Arabic,serif;font-size:27px;line-height:1.6;color:#8b7a5e}.arabic-card strong{font-size:20px}.amar-workspace{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,1.8fr);gap:22px;align-items:start}.lesson-overview h2{font-family:var(--serif);font-size:25px}.lesson-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:20px}.lesson-chip{display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--line);padding:12px 10px;border-radius:7px;background:#faf8f3;text-align:left;gap:6px;min-width:0}.lesson-chip>span{font-size:12px}.lesson-chip>small{font-size:8px;color:#aa9d86}.lesson-chip.selected{background:#eae3d6;border-color:#c4b398;color:#7e6547}.lesson-detail>.muted{font-size:11px}.lesson-progress-list{margin-bottom:24px}.progress-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #efebe2}.progress-row>span{font-size:12px;line-height:1.6}.progress-row>select{font-size:10px;padding:8px 10px;min-height:39px;min-width:142px;max-width:48%}.lesson-detail>.button{margin-top:15px}.import-panel{margin-top:25px}.import-panel>p{font-size:12px}.import-panel>.button{margin-bottom:15px}.import-candidates{display:grid;gap:17px;max-height:650px;overflow-y:auto;margin-bottom:20px;padding-right:5px}.import-candidate{padding:20px;border:1px solid var(--line);border-radius:9px;background:#faf8f1}.import-candidate .section-title{margin-bottom:10px}.import-candidate .section-title strong{font-size:11px;line-height:1.5;font-weight:500}.import-candidate-actions{display:flex;align-items:flex-end;gap:20px;margin-top:15px}.import-candidate-actions .form-field{flex:1}.checkbox-label{display:flex;gap:8px;align-items:center;font-size:11px;line-height:1.6;min-height:44px}.verified-memories{display:grid;gap:14px}.amar-page>section:last-child{margin-top:25px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.button-row{display:flex;flex-wrap:wrap;gap:9px}.kitchen-toolbar{display:flex;align-items:center;gap:12px;margin:25px 0 22px}.search-field{display:flex;align-items:center;border:1px solid #ddd6ca;border-radius:8px;padding:0 13px;background:#fffefa;flex:1;gap:9px;min-width:0;color:#b5a88f}.search-field input{border:0;background:transparent;flex:1;width:100%;font-size:12px;outline:none;padding-left:0;padding-right:0}.search-field:focus-within{outline:2px solid #af9f87}.kitchen-toolbar .form-field select{font-size:11px}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.recipe-card{padding:0;overflow:hidden;position:relative;transition:transform .15s}.recipe-card:hover{transform:translateY(-3px)}.recipe-open{padding:0;width:100%;text-align:left;display:block}.recipe-art{width:100%;display:block;height:auto}.recipe-card-body{padding:23px}.recipe-card-body .eyebrow{font-size:8px;margin-bottom:8px}.recipe-card h3{font-family:var(--serif);font-size:23px;color:#7e674c;margin-bottom:17px;line-height:1.3}.recipe-meta{display:flex;align-items:center;flex-wrap:wrap;gap:16px;color:#ab9a7f;font-size:10px}.recipe-meta>span{display:inline-flex;gap:6px;align-items:center}.recipe-favorite{position:absolute;right:12px;top:12px;background:#fffbf0c9;color:#a88865}.kitchen-storage-note{font-size:10px;line-height:1.8;padding:20px 0}.recipe-dialog{width:min(760px,calc(100% - 32px));max-height:90dvh;overflow:auto;padding:28px;color:var(--ink)}.recipe-dialog::backdrop{background:#372d2066;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.recipe-dialog .section-title{margin-bottom:25px}.recipe-form fieldset>.muted{font-size:11px}.ingredient-editor{display:grid;grid-template-columns:75px 95px minmax(0,1fr) 30px;gap:8px;align-items:center;margin-bottom:10px}.ingredient-editor input{font-size:11px;padding:10px}.recipe-form .muted{font-size:11px}.recipe-detail>.back-button{margin-bottom:24px}.recipe-detail .section-title>div>h2{font-size:30px;margin-bottom:12px}.recipe-detail-actions{display:flex;align-items:center;gap:10px}.recipe-detail-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:22px;align-items:start}.ingredients-panel h3,.cooking-panel h3{font-family:var(--serif);font-size:23px;margin-bottom:21px}.ingredients-panel>.muted{font-size:10px;margin-top:12px}.ingredient-list{list-style:none;padding:0;margin:0}.ingredient-list li{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:14px 0;gap:16px;font-size:12px}.ingredient-list strong{font-size:11px;font-weight:500;white-space:nowrap;color:#8b785b}.cooking-panel{background:#eeeee2;border-color:#e1e3d2}.cooking-step{padding:28px 0 14px}.cooking-instruction{font-family:var(--serif);font-size:28px;line-height:1.5;color:#757b5c;margin-bottom:40px;overflow-wrap:anywhere}.cooking-controls{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.cooking-controls .button{min-height:52px;font-size:13px}.cooking-panel>.muted{font-size:10px;margin-top:15px;margin-bottom:0}.recipe-all-steps{margin-top:22px}.recipe-all-steps li{padding:7px 0;font-size:12px;line-height:1.8;color:#96866f}.recipe-notes{padding-top:23px;margin-top:25px;border-top:1px solid var(--line)}.recipe-notes h4{font-size:12px}.recipe-notes p{font-size:12px;color:#9d8e77;margin-bottom:0}.recipe-delete-area{margin-top:30px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.recipe-delete-area p{margin-bottom:0;font-size:12px}.memory-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;margin-bottom:22px}.memory-grid>.panel>.icon-tile{margin-bottom:20px}.memory-grid h2{font-family:var(--serif);font-size:25px}.memory-grid p{font-size:12px;color:#96866e}.memory-facts{display:flex;gap:28px;margin:25px 0}.memory-facts strong{display:block;font-family:var(--serif);font-size:29px;font-weight:400;color:#826a4c}.memory-facts span{font-size:9px;color:#a3947c;display:block;margin-top:6px}.local-warning{margin-top:22px;margin-bottom:0;background:#f2efe6;font-size:11px;padding:16px}.memory-grid .local-warning p{font-size:10px}.stack-actions{display:grid;gap:12px;margin:25px 0 20px}.memory-page>.panel{margin-bottom:22px}.memory-row{display:flex;align-items:flex-start;gap:15px;border-bottom:1px solid var(--line);padding:21px 0}.memory-text{flex:1;min-width:0}.memory-text p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;margin-bottom:8px}.memory-text small{font-size:9px}.history-entry{display:flex;align-items:flex-start;gap:10px;padding:13px 0;border-bottom:1px solid #f0ebe2;font-size:11px;line-height:1.7;color:#9c8e78}.history-entry>svg{margin-top:3px;color:#a0a88a}.history-entry>span{flex:1;overflow-wrap:anywhere}.history-entry time{font-size:9px;white-space:nowrap;color:#b5a78f}.restore-panel{display:flex;gap:20px}.restore-panel p{font-size:12px}.danger-zone{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #e7dbce;padding-top:25px;margin-top:35px}.danger-zone h3{font-size:13px}.danger-zone p{font-size:10px;color:#ad9b82;margin-bottom:0}.danger-zone>.button{flex-shrink:0}.sidebar-backdrop{display:none}@media(min-width:1650px){.hero{min-height:300px}.hero-botanical{right:75px;width:410px;height:330px}.hero-caption{right:70px}.hero h2{font-size:46px}.hero p{font-size:12px}.stat-card .tiny{font-size:9px}.task-title{font-size:13px}.task-meta{font-size:9px}.message p{font-size:12px}.chat-input input,.life-card strong{font-size:11px}.life-card>span:not(.icon-tile){font-size:8px}}@media(max-width:1250px){.sidebar{width:217px}.sidebar-brand{padding-left:18px;padding-right:14px}.brand{font-size:23px;gap:8px}.brand-tagline{font-size:6px}.main-shell{margin-left:217px;width:calc(100% - 217px)}.content{padding-left:26px;padding-right:26px}.topbar{padding:0 26px}.nav-item{font-size:11px;gap:10px}.area-nav .nav-item{font-size:11px}.gentle-note{display:none}.hero-botanical{width:300px;height:270px;right:-8px;top:6px}.hero-caption{right:15px}.hero-caption .tiny{font-size:5px}.hero{padding-left:28px}.hero h2{font-size:37px}.stat-card{padding:17px 13px;gap:10px}.stat-card .icon-tile{width:33px;height:36px}.stat-card strong{font-size:11px}.stat-card .tiny{font-size:7px}.stat-arrow{display:none}.dashboard-grid{gap:18px}.panel{padding:20px}.compact-chat{padding:20px 17px 15px}.card-heading-title{gap:9px}.card-heading h2{font-size:14px}.card-heading-title .tiny{font-size:8px}.priority-label{display:none}.life-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.life-card strong{font-size:11px}.life-card>span:not(.icon-tile){font-size:9px}.task-meta{font-size:7px}.compact-tasks .task-row{gap:9px}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-grid{grid-template-columns:1fr}.amar-workspace{grid-template-columns:minmax(170px,.8fr) minmax(0,1.8fr)}.planner-grid{grid-template-columns:1fr}.planner-grid>.stack{grid-template-columns:1fr 1fr}.memory-grid{grid-template-columns:1fr 1fr}.memory-facts{gap:19px}.memory-facts span{font-size:8px}}@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}.dashboard-main{grid-template-columns:1fr 1fr;align-items:start}.dashboard-main>.compact-tasks{grid-column:span 2}.next-step{grid-column:span 2}.assistant-panel{width:100%}.compact-chat .chat-messages{min-height:100px;max-height:230px}.compact-chat .message p,.compact-chat .chat-input input{font-size:12px}.compact-chat .chat-label{font-size:9px}.chat-footnote{font-size:8px}.hero{min-height:265px}.hero-botanical{right:-30px;width:270px;opacity:.75}.hero-caption{display:none}.stat-grid{gap:10px}.stat-card{align-items:flex-start}.stat-card .icon-tile{display:none}.stat-card .tiny{line-height:1.5}.hero-copy p{font-size:10px}.memory-grid{grid-template-columns:1fr}.amar-summary-grid{grid-template-columns:1fr 1fr}.arabic-card{grid-column:span 2}.amar-workspace{grid-template-columns:1fr}.lesson-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.lesson-chip{padding:10px 8px}.lesson-chip>small{font-size:7px}.recipe-detail-columns{grid-template-columns:1fr}.recipe-detail .section-title>div>h2{font-size:25px}.mode-control>span{display:none}.app-footer>span:last-child{font-size:7px}.recipe-card h3{font-size:20px}}@media(max-width:760px){:root{font-size:15px}.sidebar{width:265px;transform:translate(-100%);transition:transform .2s}.sidebar.is-open{transform:translate(0)}.sidebar-backdrop{display:block;position:fixed;inset:0;background:#30281d55;z-index:45;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;padding:25px 20px 28px}.brand{font-size:25px;gap:10px}.brand-tagline{font-size:7px}.mobile-close,.mobile-menu{display:inline-flex}.nav-item,.area-nav .nav-item{font-size:13px;padding-top:12px;padding-bottom:12px}.nav-label{font-size:9px}.sidebar-wisdom{padding:22px 0}.main-shell{margin-left:0;width:100%}.topbar{height:66px;padding:0 20px;position:sticky;top:0;z-index:40;background:#fcfaf5f5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.topbar-left{gap:9px}.topbar-label,.topbar-divider,.help-button{display:none}.mobile-brand{display:block;font-family:var(--serif);font-size:24px;letter-spacing:-.9px;color:#786044}.storage-status{font-size:9px;gap:5px;padding:8px 0}.topbar-actions{gap:8px}.content{padding:20px 20px 0;max-width:680px}.workspace-toolbar{margin-bottom:24px;gap:5px}.breadcrumb{font-size:9px;gap:5px}.mode-control{gap:3px}.mode-control select{font-size:9px;max-width:135px;padding-right:0}.mode-control>svg{width:12px}.welcome-heading{margin-bottom:21px}.welcome-heading h1{font-size:29px}.welcome-heading .eyebrow{font-size:9px;margin-bottom:9px}.hero{min-height:295px;padding:27px 25px;align-items:flex-start;border-radius:12px}.hero h2{font-size:37px;margin-bottom:14px;line-height:1.13}.hero .eyebrow{font-size:7px;letter-spacing:1.5px;margin-bottom:14px}.hero p{font-size:10px;max-width:250px;line-height:1.8;margin-bottom:25px}.hero-botanical{width:250px;height:215px;right:-65px;top:62px;opacity:.42}.hero-copy{max-width:100%}.hero .button{font-size:10px;padding:12px;min-height:43px;gap:8px}.stat-grid{grid-template-columns:1fr;margin-bottom:22px;gap:10px}.stat-card{padding:15px 17px;align-items:center;gap:14px;border-radius:9px}.stat-card .icon-tile{display:flex;width:38px;height:40px}.stat-card .eyebrow{font-size:7px;margin-bottom:4px}.stat-card strong{font-size:13px;margin-bottom:5px}.stat-card .tiny{font-size:8px}.stat-arrow{display:block}.dashboard-grid{gap:19px}.dashboard-main{display:block}.dashboard-main>.next-step{margin-top:19px}.panel{padding:21px}.card-heading{margin-bottom:17px}.card-heading h2{font-size:15px}.card-heading-title .tiny{font-size:9px}.task-row{padding:17px 0;gap:12px}.task-title{font-size:12px}.task-meta{font-size:8px;gap:5px}.task-check{width:20px;height:20px;min-width:20px}.task-actions .icon-button{width:35px;min-width:35px;height:40px}.next-step{padding:22px}.next-step h3{font-size:22px}.next-step p,.next-step .text-link{font-size:11px}.next-step .eyebrow{font-size:8px}.assistant-panel{padding:22px 20px 17px}.chat-label{font-size:9px}.chat-messages{min-height:180px}.message p{font-size:12px}.chat-suggestions button{font-size:9px;min-height:37px}.chat-input input{font-size:12px;min-height:43px}.chat-input button{width:37px;height:37px;min-width:37px}.chat-footnote{font-size:8px}.life-section{margin-top:29px}.life-section .section-title{align-items:flex-end}.life-section .section-title>.tiny{display:none}.section-title h2{font-size:23px}.life-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.life-card{padding:19px 16px}.life-card .icon-tile{width:36px;height:38px}.life-card .icon-tile svg{width:21px}.life-card strong{font-size:12px}.life-card>span:not(.icon-tile){font-size:9px}.life-card>svg{right:17px;top:27px}.life-card:last-child{grid-column:span 2;display:grid;grid-template-columns:38px 1fr 15px;grid-template-rows:auto auto;gap:0 14px;align-items:center}.life-card:last-child .icon-tile{grid-row:span 2;margin-bottom:0}.life-card:last-child>svg{position:static;grid-column:3;grid-row:1 / 3}.life-card:last-child strong{margin-bottom:4px}.dashboard-bottom{font-size:8px;line-height:1.7;text-align:center;align-items:flex-start}.app-footer{flex-direction:column;align-items:center;padding:22px 0;margin-top:29px;gap:8px}.app-footer>span:first-child{font-size:12px}.app-footer>span:last-child{font-size:8px}.page-heading{align-items:flex-start;gap:18px;flex-wrap:wrap;margin-bottom:24px}.page-heading h1{font-size:29px}.page-heading p:last-child{font-size:11px}.page-heading .eyebrow{font-size:8px}.tasks-toolbar{flex-wrap:wrap;gap:12px}.tasks-toolbar>select{width:100%;font-size:12px}.tasks-panel:not(.compact-tasks) .task-row{flex-wrap:wrap;gap:12px}.tasks-panel:not(.compact-tasks) .task-title{font-size:13px}.tasks-panel:not(.compact-tasks) .task-meta{font-size:9px}.tasks-panel:not(.compact-tasks) .task-actions{margin-left:27px;gap:9px;flex-basis:100%;justify-content:flex-end;margin-top:-5px}.tasks-panel:not(.compact-tasks) .task-actions .icon-button{min-width:39px;width:39px;height:39px;border:1px solid #e9e1d4}.section-note{font-size:10px;align-items:flex-start;line-height:1.7}.section-note svg{margin-top:3px}.modal-overlay{padding:16px}.modal{padding:23px;max-height:calc(100dvh - 32px)}.form-field{font-size:12px}.form-field input,.form-field select,.form-field textarea{font-size:16px}.modal .card-heading h2{font-size:23px}.form-row{grid-template-columns:1fr}.modal>.icon-tile{margin-bottom:18px}.form-actions .button{flex:1}.button{font-size:12px}.week-panel{padding:18px}.week-panel .card-heading{flex-wrap:wrap;gap:15px}.week-panel .card-heading h2{font-family:var(--serif);font-size:23px}.week-strip{gap:5px}.day-cell{padding:14px 3px;gap:10px;font-size:9px;min-width:0}.day-cell strong{font-size:23px}.planner-grid{grid-template-columns:1fr;gap:18px}.planner-grid>.stack{grid-template-columns:1fr}.planner-grid>.panel .card-heading{flex-wrap:wrap}.planner-grid .card-heading h2{font-size:21px}.planner-grid .task-row{flex-wrap:wrap}.planner-grid .task-actions{flex-basis:100%;justify-content:flex-end;gap:8px;margin-top:-7px}.amar-summary-grid{gap:12px}.metric-card{padding:18px 16px;gap:8px}.metric-card strong{font-size:24px}.metric-card>.muted{font-size:9px}.metric-card .eyebrow{font-size:7px;letter-spacing:1px}.metric-card>svg{display:none}.arabic-card .arabic{font-size:29px}.arabic-card strong{font-size:20px}.info-banner{font-size:11px;padding:16px}.lesson-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.lesson-chip{padding:12px 7px;gap:7px}.lesson-chip>span{font-size:11px}.lesson-chip>small{font-size:7px;line-height:1.5}.lesson-overview>.small{font-size:10px;line-height:1.8}.lesson-detail .section-title h2{font-size:25px}.lesson-detail .badge{font-size:8px}.progress-row{gap:10px;padding:12px 0}.progress-row>span{font-size:11px;line-height:1.5}.progress-row>select{min-width:134px;font-size:10px;min-height:44px;padding:7px}.lesson-detail .form-field textarea{font-size:16px}.import-candidate{padding:15px}.import-candidate .section-title{flex-wrap:wrap;gap:8px}.import-candidate-actions{flex-direction:column;align-items:stretch;gap:10px}.import-candidate textarea{font-size:15px}.import-panel>.button.primary{font-size:11px;line-height:1.8;white-space:normal}.kitchen-toolbar{flex-wrap:wrap;gap:10px;margin-top:22px}.kitchen-toolbar .search-field{flex-basis:100%}.search-field input{font-size:16px}.kitchen-toolbar>.form-field{flex:1}.kitchen-toolbar>.button{font-size:11px}.kitchen-page>.section-title{flex-wrap:wrap;align-items:flex-start;gap:13px}.kitchen-page>.section-title .eyebrow{font-size:8px}.kitchen-page>.section-title .muted{font-size:11px;margin-bottom:0}.recipe-grid{grid-template-columns:1fr;gap:20px}.recipe-card-body{padding:23px}.recipe-card h3{font-size:27px}.recipe-meta{font-size:11px;gap:18px}.recipe-card-body .eyebrow{font-size:9px}.recipe-detail>.section-title{flex-wrap:wrap}.recipe-detail .section-title>div>h2{font-size:29px}.recipe-detail-actions{width:100%;justify-content:flex-end}.recipe-detail-columns{gap:19px}.cooking-step{padding-top:15px}.cooking-instruction{font-size:29px}.cooking-controls .button{padding:14px;font-size:13px;min-height:56px}.recipe-dialog{padding:21px;width:calc(100% - 24px)}.recipe-dialog .section-title h2{font-size:25px}.recipe-form-row{grid-template-columns:1fr 1fr;gap:10px}.recipe-form-row .form-field{font-size:10px;line-height:1.7}.ingredient-editor{grid-template-columns:60px 65px minmax(0,1fr) 26px;gap:6px}.ingredient-editor input{padding:10px 7px;font-size:14px}.ingredient-editor .icon-button{width:26px;min-width:26px}.recipe-form fieldset{padding:14px 10px}.recipe-all-steps{padding:20px}.recipe-all-steps ol{padding-left:20px}.recipe-delete-area .button{font-size:11px}.memory-grid{gap:18px}.memory-grid .panel h2{font-size:26px}.memory-facts{gap:27px}.memory-facts strong{font-size:31px}.memory-facts span{font-size:8px}.local-warning{font-size:11px}.memory-row{gap:10px;flex-wrap:wrap}.memory-row>.badge{flex-basis:auto}.memory-text{flex-basis:100%}.memory-row .icon-button{width:40px;height:40px;border:1px solid var(--line)}.history-entry{flex-wrap:wrap;gap:8px;font-size:10px}.history-entry>span{flex-basis:calc(100% - 25px)}.history-entry time{margin-left:22px}.danger-zone{align-items:flex-start;flex-direction:column}.restore-panel{flex-direction:column}.full-chat{padding:21px}.full-chat .message,.full-chat .message p{font-size:13px}.full-chat .message.user{margin-left:25px}.full-chat .chat-messages{min-height:250px;max-height:55dvh}.full-chat .chat-input input{font-size:16px}.full-chat .chat-footnote{font-size:8px}.full-chat .chat-suggestions button{font-size:10px}.chat-help{gap:8px}.chat-help p{font-size:10px}.gentle-mode-note{font-size:10px;align-items:flex-start}.gentle-mode-note>svg{margin-top:3px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.nav-item,.area-nav .nav-item{font-size:13px;color:#786d5c}.nav-item.active{color:#69503c}.topbar-label{color:#8d7b64}.eyebrow{color:#887458}.muted{color:#82735e}.hero p{font-size:13px;color:#89765b}.hero .button{font-size:11px}.hero .eyebrow{font-size:9px;color:#8d7859}.stat-card strong{font-size:14px}.stat-card .tiny{font-size:10px;color:#8d7b61}.stat-card .eyebrow{font-size:8px}.card-heading h2{font-size:17px}.card-heading-title .tiny{font-size:10px;color:#8b7c67}.task-title{font-size:14px}.task-meta{font-size:10px;color:#8c7d66}.card-bottom-link{font-size:11px}.priority-label{font-size:9px}.message p,.compact-chat .message p{font-size:13px;color:#837054}.chat-label{font-size:10px;color:#958265}.chat-suggestions button{font-size:10px;min-height:36px;color:#867052}.chat-input input{font-size:13px;min-height:40px}.chat-input button{width:35px;height:35px;min-width:35px}.chat-footnote{font-size:9px;color:#9a896f}.next-step p{font-size:12px;color:#7f8969}.next-step .text-link{font-size:12px}.next-step .eyebrow{font-size:9px;color:#7f8969}.life-card strong{font-size:11px}.life-card>span:not(.icon-tile){font-size:9px;color:#92816a}.life-card>svg{color:#aa9579}.life-section .section-title>.tiny{font-size:10px}.dashboard-bottom{font-size:10px;color:#94816a}.dashboard-bottom>svg{margin-top:2px}.hero-caption .tiny{color:#9a8467}.chat-active-task{font-size:11px;line-height:1.7;color:#7b8663;border:1px solid #e3e7d6;background:#f2f4e9;padding:10px 12px;border-radius:7px;margin-bottom:12px;display:flex;align-items:center;gap:8px}.hub-dialog{margin:auto;padding:28px;color:var(--ink);border:1px solid var(--line);max-height:90dvh;max-width:min(510px,calc(100% - 32px));width:calc(100% - 32px)}.hub-dialog::backdrop{background:#372d2055;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.storage-banner+.gentle-mode-note{margin-top:-5px}.content .form-field>textarea{scroll-margin-top:90px}@media(max-width:1250px)and (min-width:761px){.stat-card strong{font-size:12px}.stat-card .tiny{font-size:9px}.life-card strong{font-size:12px}.task-title{font-size:13px}.task-meta{font-size:9px}}@media(max-width:760px){.topbar{padding-top:env(safe-area-inset-top);height:calc(66px + env(safe-area-inset-top))}.content{padding-bottom:env(safe-area-inset-bottom)}.hero .eyebrow{font-size:8px}.hero p{font-size:12px;max-width:265px}.hero h2{font-size:36px}.hero-botanical{opacity:.25;right:-85px}.hero .button{font-size:10px}.card-heading h2{font-size:16px}.card-heading-title .tiny{font-size:9px}.task-title{font-size:13px}.task-meta{font-size:9px}.stat-card strong{font-size:14px}.stat-card .tiny{font-size:9px}.card-bottom-link{font-size:11px}.message p,.compact-chat .message p{font-size:13px}.chat-suggestions button{font-size:10px;min-height:42px}.chat-input input,.compact-chat .chat-input input{font-size:16px;min-height:44px}.chat-input button{width:40px;height:40px;min-width:40px}.chat-footnote{font-size:8px;line-height:1.6;align-items:flex-start}.chat-footnote>svg{margin-top:1px}.chat-label{font-size:9px}.next-step p{font-size:12px}.next-step .eyebrow{font-size:8px}.next-step .text-link,.life-card strong{font-size:12px}.life-card>span:not(.icon-tile){font-size:10px}.dashboard-bottom{font-size:9px}.sidebar{padding-bottom:env(safe-area-inset-bottom)}.hub-dialog{padding:23px}.storage-status{font-size:10px}}.account-page{display:grid;gap:22px;margin-bottom:24px}.account-page .page-heading{margin-bottom:0}.account-page .panel h2{font-family:var(--serif);font-size:25px}.account-page .panel p{font-size:13px;color:#82735e}.account-setup>.icon-tile,.account-login>.icon-tile{margin-bottom:18px}.sync-summary{display:flex;align-items:flex-start;gap:14px;padding:20px;background:#eef1e5;border:1px solid #dee4ce;border-radius:9px;margin:24px 0;color:#7c8961}.sync-summary strong{font-size:14px;font-weight:500}.sync-summary p{margin:8px 0 0}.sync-pending,.sync-offline{background:#f4eddf;border-color:#e8dcc7;color:#a0865c}.sync-conflict,.sync-error{background:#f8eae2;border-color:#ead2c5;color:#a6644a}.account-page .danger-zone{margin-top:5px}.account-privacy p:last-child{margin-bottom:0}.account-page .inline-actions{gap:12px}.conflict-backups{margin-top:24px}.conflict-review{margin-bottom:24px}.conflict-item{padding:19px 0;border-top:1px solid var(--line)}.conflict-item h3{font-size:14px;font-weight:500}.conflict-item .form-row>div{background:#f6f2e9;padding:16px;border-radius:7px;min-width:0}.conflict-item strong{font-size:11px;color:#9b8466;font-weight:500}.conflict-item p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:#75644c;line-height:1.7;margin:10px 0 0;max-height:220px;overflow-y:auto}[aria-label="My Life Hub installieren"] li{font-size:12px;line-height:1.8;padding:6px 0;color:#82735e}[aria-label="My Life Hub installieren"] .form-row{margin-top:25px;gap:30px}[aria-label="My Life Hub installieren"] ol{padding-left:19px}[aria-label="My Life Hub installieren"] .eyebrow{font-size:9px}[aria-label="My Life Hub installieren"] .notice p{margin-bottom:12px}.sidebar-bottom>.nav-item{font-size:11px}.sidebar-bottom{padding-top:10px}.sidebar-bottom .profile-row{padding-top:13px;padding-bottom:15px;margin-top:9px}.sidebar-wisdom{padding-top:20px;padding-bottom:20px}.storage-status{max-width:230px;line-height:1.6;text-align:right}.account-page .danger-zone{align-items:flex-start}.account-page+.panel{margin-bottom:24px}@media(max-width:760px){.account-page .panel h2{font-size:25px}.account-page .panel p{font-size:12px}.account-page .inline-actions>.button{flex:1;min-width:140px}.account-page .badge{font-size:8px}.account-status .card-heading{flex-wrap:wrap}.sync-summary{padding:17px;gap:11px}.sync-summary strong{font-size:13px}.sync-summary p{font-size:11px!important}.account-setup .local-warning p{font-size:11px}.conflict-backups .inline-actions{flex-direction:column;align-items:stretch}.conflict-review .form-row{grid-template-columns:1fr}.storage-status{max-width:150px;font-size:9px}.topbar-actions{min-width:0}[aria-label="My Life Hub installieren"] .form-row{grid-template-columns:1fr;gap:20px}[aria-label="My Life Hub installieren"] .card-heading-title .tiny{line-height:1.7}.sidebar-bottom>.nav-item{font-size:12px}.sidebar-wisdom{padding-top:18px;padding-bottom:18px}.sidebar-wisdom p{font-size:15px}.sidebar-wisdom>span:last-child{font-size:8px}}.login-form{max-width:520px}.login-form form{display:grid;gap:18px;margin:22px 0}.login-form input{min-height:48px;font-size:16px;max-width:100%;box-sizing:border-box}.login-form .button{min-height:48px}.login-form .form-field{min-width:0}.password-field{position:relative;display:flex;align-items:center;min-width:0}.password-field input{padding-right:54px}.password-field .icon-button{position:absolute;right:4px;width:44px;min-width:44px;height:44px}.tasks-toolbar{flex-wrap:wrap}.tasks-toolbar .task-search{flex:1 1 190px;min-width:0}.task-search input{width:100%;min-width:0;font-size:16px}.task-meta{flex-wrap:wrap}.task-meta time{color:#705f4e;background:#f1ece3;padding:3px 7px;border-radius:5px;font-size:10px}.calendar-event-content{min-width:0;overflow-wrap:anywhere;flex:1}.calendar-event-content .inline-actions{margin-top:8px}.appointments-panel .card-heading{gap:12px;flex-wrap:wrap}.appointments-panel .card-heading h2{margin-bottom:0}.lesson-detail>.button+.button{margin-left:8px}@media(max-width:760px){.tasks-toolbar .task-search{flex-basis:100%}.tasks-panel:not(.compact-tasks) .task-actions .icon-button,.planner-grid .task-actions .icon-button{width:44px;min-width:44px;height:44px}.calendar-event .icon-button,.week-panel .icon-button{width:44px;min-width:44px;height:44px}.segmented button,.appointments-panel .button,.week-panel .button{min-height:44px}.lesson-detail>.button{width:100%;margin-left:0!important}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.recovery-panel{max-width:660px;margin:0 auto}.recovery-panel .icon-tile{margin-bottom:16px}.recovery-panel h1{font-family:var(--serif);font-size:clamp(25px,5vw,36px)}.recovery-panel p{line-height:1.75;overflow-wrap:anywhere}.recovery-panel .stack-form{margin:24px 0}.recovery-panel input{min-height:48px;font-size:16px}.reset-request{border-top:1px solid var(--line);padding-top:20px}.login-form .text-link{min-height:44px}.recovery-shell{padding:max(24px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));min-height:100dvh;background:var(--cream,#f7f4ee)}@media(max-width:760px){.mobile-menu,.mobile-close,.chat-input button{width:44px;min-width:44px;height:44px}.tasks-panel:not(.compact-tasks) .task-actions .icon-button{width:44px;min-width:44px;height:44px}}.vocab-list{margin-top:24px;display:grid;gap:14px}.vocab-row{border-top:1px solid var(--border,#e4dacf);padding-top:16px;display:flex;justify-content:space-between;gap:18px;align-items:start}.vocab-row .arabic{display:block;font-size:1.65rem;text-align:start;overflow-wrap:anywhere}.vocab-row p{margin:6px 0}.vocab-row>div{min-width:0}.flashcard{text-align:center;padding:24px 0}.flashcard>.arabic{font-size:2.6rem}.flashcard .button-row{justify-content:center}.vocabulary-panel{margin:24px 0}.document-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:20px}.document-card{min-width:0}.document-card h2,.document-card small{overflow-wrap:anywhere}.document-card details{padding:18px 0}.document-card summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.document-version{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid var(--border,#e4dacf)}.document-version span{min-width:0}.document-version small{display:block}.document-transcript{max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.documents-page>.panel{margin:20px 0}.vocabulary-panel .checkbox-label,.documents-page .checkbox-label{margin:16px 0}.documents-page .button,.vocabulary-panel .button{min-height:44px}.vocabulary-panel input,.vocabulary-panel select,.vocabulary-panel textarea,.documents-page input,.documents-page select,.documents-page textarea{max-width:100%;min-width:0}.button-row{flex-wrap:wrap}@media(max-width:760px){.vocab-row{flex-direction:column}.vocab-row>.button-row{width:100%}.vocab-row .button{flex:1}.document-version{align-items:start;flex-direction:column}.document-card .section-title,.vocabulary-panel>.section-title{flex-wrap:wrap;gap:12px}.document-grid{grid-template-columns:minmax(0,1fr)}}
