:root{--bg:#f4efe5;--surface:#fbf8f1;--soft:#e9e3d8;--line:#d8d0c3;--text:#3e3b36;--muted:#827c73;--danger:#9c514b;--rail:62px;--radius:18px;--shadow:0 18px 44px rgba(55,48,39,.14)}
*{box-sizing:border-box}html,body,#app{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent}body.dark{--bg:#232220;--surface:#2d2b28;--soft:#393631;--line:#4a4640;--text:#f1ede5;--muted:#aaa49a;--danger:#d17a72;--shadow:0 18px 44px rgba(0,0,0,.34)}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}.shell{height:100%;display:grid;grid-template-columns:var(--rail) minmax(0,1fr);background:var(--bg)}
.rail{background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding:12px 8px calc(12px + env(safe-area-inset-bottom));gap:7px;z-index:30}.rail-btn{width:46px;height:46px;border:1px solid transparent;border-radius:13px;background:transparent;display:grid;place-items:center;padding:0;color:var(--text);box-shadow:none!important}.rail-btn svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.rail-btn.active{background:var(--soft);border-color:var(--line)}.rail-btn:active{background:var(--soft)}.rail .theme{margin-top:auto}.main{min-width:0;height:100%;display:flex;flex-direction:column;padding:10px 14px 10px}.topbar{flex:none;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;min-height:54px}.nav{display:flex;align-items:center;gap:7px}.nav button,.soft-btn{height:40px;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:0 13px}.nav .range{min-width:178px;font-weight:650}.view-title{text-align:right;font-size:12px;color:var(--muted)}
.weekstrip{flex:none;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-bottom:10px}.day-tab{height:62px;border:1px solid var(--line);border-radius:15px;background:color-mix(in srgb,var(--surface) 88%,transparent);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.day-tab.selected{background:var(--surface);border-color:color-mix(in srgb,var(--text) 38%,var(--line));box-shadow:inset 0 -3px 0 color-mix(in srgb,var(--text) 60%,transparent)}.dow{font-size:11px;font-weight:700;color:var(--muted)}.day-num{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:14px}.day-num.today{background:var(--text);color:var(--bg);font-weight:700}
.workspace{flex:1;min-height:0;display:flex;gap:10px}.content-pane{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}.content-pane.with-agenda{width:62%}.day-list-card{flex:1;min-height:0;border:1px solid var(--line);border-radius:var(--radius);background:color-mix(in srgb,var(--surface) 88%,transparent);display:flex;flex-direction:column;overflow:hidden}.section-head{height:52px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--line)}.section-head h2{font-size:17px;margin:0}.section-head .meta{font-size:12px;color:var(--muted)}.task-list{flex:1;min-height:0;overflow-y:auto;padding:11px;display:flex;flex-direction:column;gap:9px;scrollbar-width:thin}.empty{margin:auto;color:var(--muted);font-size:13px;text-align:center;padding:24px}
.task{border:1px solid color-mix(in srgb,var(--text) 8%,transparent);border-radius:14px;padding:11px 12px;background:color-mix(in srgb,var(--cat,#b7aa96) 18%,var(--surface));touch-action:pan-y}.task.dragging{opacity:.45}.task-row{display:flex;align-items:flex-start;gap:10px;min-width:0}.check{width:22px;height:22px;margin:0;flex:none;accent-color:#777168}.task-title{flex:1;min-width:0;font-size:15px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task.done>.task-row .task-title,.sub-row.done span{text-decoration:line-through;opacity:.55}.tiny{border:0;background:transparent;min-width:34px;height:34px;border-radius:9px;padding:0;display:grid;place-items:center}.details{display:none;margin:9px 0 0 32px;padding-top:7px;border-top:1px solid color-mix(in srgb,var(--text) 10%,transparent);font-size:13px}.task.open .details{display:block}.sub-row{display:flex;align-items:flex-start;gap:9px;margin:8px 0}.sub-row .check{width:20px;height:20px}.sub-row.level2{margin-left:27px}.sub-row span{line-height:1.35}.note{color:var(--muted);white-space:pre-wrap;margin-top:9px;line-height:1.4}.scheduled-tag{font-size:11px;color:var(--muted);margin-left:32px;margin-top:5px}
.agenda-pane{width:38%;min-width:340px;min-height:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);display:flex;flex-direction:column;overflow:hidden}.agenda-head{height:52px;flex:none;display:flex;align-items:center;gap:8px;padding:0 10px 0 14px;border-bottom:1px solid var(--line)}.agenda-head strong{flex:1;font-size:15px}.add-event{height:36px;border:1px solid var(--line);border-radius:11px;background:var(--bg);padding:0 12px;font-size:13px}.agenda-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.timeline-wrap{padding:8px 12px 30px 54px}.timeline{position:relative;height:1440px;border-top:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 14px,color-mix(in srgb,var(--line) 55%,transparent) 15px,transparent 16px,transparent 59px,var(--line) 60px)}.hour-label{position:absolute;right:calc(100% + 9px);transform:translateY(-6px);font-size:10px;color:var(--muted);white-space:nowrap}.block{position:absolute;left:5px;right:6px;border:1px solid color-mix(in srgb,var(--text) 10%,transparent);border-radius:10px;background:color-mix(in srgb,var(--cat,#b7aa96) 25%,var(--surface));padding:7px 8px;font-size:11px;overflow:hidden;touch-action:none;user-select:none}.block-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.block-time{font-size:10px;color:var(--muted);white-space:nowrap}.block .resize{position:absolute;left:0;right:0;height:13px}.block .resize.top{top:0;cursor:ns-resize}.block .resize.bottom{bottom:0;cursor:ns-resize}
.four-grid{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:10px}.four-card{min-width:0;min-height:0;border:1px solid var(--line);border-radius:var(--radius);background:color-mix(in srgb,var(--surface) 88%,transparent);display:flex;flex-direction:column;overflow:hidden}.four-head{height:48px;flex:none;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;padding:0 14px;display:flex;align-items:center;gap:8px}.four-label{font-size:11px;font-weight:750;color:var(--muted);letter-spacing:.04em}.four-date{font-size:14px;font-weight:650}.four-list{flex:1;min-height:0;overflow-y:auto;padding:8px 10px}.four-task{display:flex;align-items:center;gap:8px;padding:7px 4px;border-bottom:1px solid color-mix(in srgb,var(--line) 65%,transparent);font-size:13px;min-width:0}.four-task span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.four-task.done span{text-decoration:line-through;opacity:.55}.four-sub{padding-left:31px;font-size:12px;color:var(--muted)}
.schedule-week{flex:1;min-height:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.schedule-day{min-width:0;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--surface) 88%,transparent);display:flex;flex-direction:column;overflow:hidden}.schedule-head{height:50px;flex:none;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:6px}.schedule-head .today-dot{width:25px;height:25px;border-radius:50%;background:var(--text);color:var(--bg);display:grid;place-items:center}.schedule-list{flex:1;min-height:0;overflow-y:auto;padding:7px}.schedule-item{width:100%;border:0;border-left:3px solid var(--cat);background:color-mix(in srgb,var(--cat) 14%,transparent);border-radius:8px;margin-bottom:6px;padding:7px 6px;text-align:left;display:grid;grid-template-columns:14px 43px 6px minmax(0,1fr);align-items:center;gap:3px;font-size:10.5px;min-width:0}.schedule-item .kind{font-size:11px;text-align:center}.schedule-item .time{font-variant-numeric:tabular-nums;white-space:nowrap}.schedule-item .sep{color:var(--muted)}.schedule-item .name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.fab{position:fixed;right:22px;bottom:22px;width:56px;height:56px;border:0;border-radius:18px;background:var(--text);color:var(--bg);font-size:31px;box-shadow:var(--shadow);z-index:35}.tray-handle{position:fixed;bottom:4px;left:calc(50% + var(--rail)/2);transform:translateX(-50%);width:64px;height:20px;border:1px solid var(--line);border-radius:11px 11px 5px 5px;background:var(--surface);z-index:36}.tray{position:fixed;z-index:50;left:calc(var(--rail) + 12px);right:12px;bottom:0;background:var(--surface);border:1px solid var(--line);border-bottom:0;border-radius:20px 20px 0 0;padding:14px 16px calc(16px + env(safe-area-inset-bottom));box-shadow:var(--shadow);transform:translateY(105%);transition:.2s}.tray.open{transform:translateY(0)}.tray-top{display:flex;justify-content:space-between;align-items:center}.tray-input{width:100%;margin-top:9px;border:1px solid var(--line);border-radius:12px;background:var(--bg);padding:11px 12px;font-size:16px}.inbox-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.inbox-task{padding:9px 11px;border:1px solid var(--line);border-radius:11px;background:var(--soft);font-size:12px}
.overlay{position:fixed;inset:0;z-index:70;background:rgba(25,23,20,.28);display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:min(620px,88vw);max-height:90vh;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:20px}.modal.event-modal{width:min(570px,86vw)}.modal h2{font-size:17px;margin:0 0 14px}.field{margin:11px 0}.field label{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);background:var(--bg);border-radius:11px;padding:10px 11px;font-size:16px;min-width:0}.field textarea{min-height:82px;resize:vertical}.row2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.row3{display:grid;grid-template-columns:1.15fr .85fr .85fr;gap:12px}.actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:16px}.actions .spacer{flex:1}.actions button,.small-btn{min-height:40px;border:1px solid var(--line);background:var(--bg);border-radius:11px;padding:8px 13px}.actions .primary{background:var(--text);color:var(--bg)}.danger{color:var(--danger)!important}.danger-solid{background:color-mix(in srgb,var(--danger) 12%,var(--surface))!important;border-color:color-mix(in srgb,var(--danger) 35%,var(--line))!important}.sub-edit{display:flex;gap:7px;margin:7px 0}.sub-edit input{flex:1;min-width:0}.cats{display:flex;flex-direction:column;gap:8px}.cat-row{display:grid;grid-template-columns:40px 1fr auto;gap:9px;align-items:center}.cat-row input[type=color]{width:40px;height:38px;border:0;background:transparent}
.month{position:fixed;z-index:60;top:64px;left:50%;transform:translateX(-50%);width:310px;background:var(--surface);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);padding:12px}.month-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.month-grid button{height:33px;border:0;border-radius:9px;background:transparent}.month-grid button:active{background:var(--soft)}.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);background:var(--text);color:var(--bg);padding:9px 13px;border-radius:11px;opacity:0;pointer-events:none;transition:.2s;z-index:100}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){:root{--rail:54px}.rail{padding-left:4px;padding-right:4px}.rail-btn{width:44px;height:44px}.main{padding-left:8px;padding-right:8px}.weekstrip,.schedule-week{gap:4px}.day-tab{border-radius:12px}.agenda-pane{width:40%;min-width:300px}.content-pane.with-agenda{width:60%}.task-title{font-size:14px}.schedule-item{grid-template-columns:12px 39px 4px minmax(0,1fr);padding-left:4px;padding-right:4px;font-size:9.5px}.modal{width:min(640px,94vw)}}

/* V3 */
.topbar{grid-template-columns:1fr auto 1fr}.topbar>.nav{justify-self:center}.view-title{justify-self:end}.month{top:64px}
.workspace{overflow:hidden}.agenda-pane{height:100%;max-height:100%}.agenda-scroll{height:0;flex:1 1 auto;overflow-y:scroll!important;-webkit-overflow-scrolling:touch;touch-action:pan-y}.timeline-wrap{min-height:1490px}.timeline{height:1440px}
.four-grid{height:100%;max-height:100%;grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.four-card{height:100%;max-height:100%}.four-list{overflow-y:auto!important;-webkit-overflow-scrolling:touch}
.schedule-day{padding-top:0}.schedule-list{padding-top:10px}.schedule-head{display:none!important}
.modal{width:min(760px,92vw);padding:24px}.modal.event-modal{width:min(760px,92vw)}.row2,.row3{gap:18px}.field input,.field textarea,.field select{min-height:44px}
.progress-wrap{display:flex;align-items:center;gap:9px;margin:8px 0 0 32px;font-size:10px;color:var(--muted)}.progress-track{height:5px;flex:1;max-width:280px;background:color-mix(in srgb,var(--line) 70%,transparent);border-radius:99px;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--cat);border-radius:99px}
.timer-box{margin:9px 0 0 32px;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--text) 10%,transparent);display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}.timer-box.quiet{justify-content:flex-end}.timer-status{color:var(--text)}.timer-status:first-letter{color:var(--cat)}.timer-btn{min-height:34px;border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:5px 10px;margin-left:5px}.task.timer-running{border-color:color-mix(in srgb,var(--cat) 55%,var(--line))}
.pending-intro{color:var(--muted);font-size:13px}.pending-list{max-height:300px;overflow:auto;border:1px solid var(--line);border-radius:12px}.pending-list>div{padding:10px 12px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px}.pending-list>div:last-child{border-bottom:0}.pending-list span{font-size:11px;color:var(--muted)}.pending-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.pending-actions button{min-height:42px;border:1px solid var(--line);background:var(--bg);border-radius:11px;padding:8px 13px}.pending-actions .primary{background:var(--text);color:var(--bg)}
@media(max-width:900px){.modal,.modal.event-modal{width:96vw}.row3{grid-template-columns:1fr 1fr 1fr}.agenda-scroll{overflow-y:scroll!important}.topbar{grid-template-columns:1fr auto 1fr}}
/* Planner V4 */
.today-smart{display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--muted);margin-top:2px}.task-list{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.projects-pane,.inbox-view{position:relative;min-height:0;height:100%}.projects-toolbar{flex:none;display:flex;align-items:center;justify-content:space-between;padding:4px 4px 10px}.projects-toolbar h2{margin:0;font-size:18px}.projects-toolbar span{font-size:12px;color:var(--muted)}.project-layout{flex:1;min-height:0;display:grid;grid-template-columns:44% 56%;gap:10px}.project-folders,.all-tasks-panel{min-height:0;overflow-y:auto;border:1px solid var(--line);border-radius:var(--radius);background:color-mix(in srgb,var(--surface) 88%,transparent);padding:12px;-webkit-overflow-scrolling:touch}.project-folders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:10px}.project-folder{min-height:112px;border:1px solid var(--line);border-radius:15px;background:color-mix(in srgb,var(--project) 14%,var(--surface));display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:14px;text-align:left;gap:5px}.project-folder .folder-shape svg{width:30px;height:30px;fill:none;stroke:var(--project);stroke-width:1.8}.project-folder b{font-size:14px}.project-folder small,.project-task-row small{color:var(--muted)}.all-tasks-panel h3{margin:2px 4px 10px;font-size:14px}.project-task-list{display:flex;flex-direction:column;gap:6px}.project-task-row{border:1px solid var(--line);border-radius:11px;background:var(--surface);padding:9px 11px;text-align:left;display:flex;flex-direction:column;gap:3px}.clip-fab{position:absolute;right:18px;bottom:18px;width:54px;height:54px;border-radius:18px;border:1px solid var(--line);background:var(--text);color:var(--bg);display:grid;place-items:center}.clip-fab svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}.project-modal-title{display:flex;gap:9px;align-items:center}.project-modal-title svg{width:27px;height:27px;fill:none;stroke:var(--project);stroke-width:1.8}.project-modal-list,.select-task-list{max-height:48vh;overflow-y:auto;display:flex;flex-direction:column;gap:6px}.project-modal-list button{display:flex;justify-content:space-between;gap:10px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);text-align:left}.project-modal-list span{font-size:11px;color:var(--muted)}.select-task-list label{display:flex;gap:9px;align-items:center;padding:9px;border-bottom:1px solid var(--line)}.muted-copy{font-size:13px;color:var(--muted)}
.inbox-view{display:grid;grid-template-columns:1fr 1fr;gap:10px}.inbox-left,.quick-notes,.week-stats{border:1px solid var(--line);border-radius:var(--radius);background:color-mix(in srgb,var(--surface) 88%,transparent)}.inbox-left{min-height:0;display:flex;flex-direction:column;padding:14px}.inbox-head h2,.quick-notes h2{margin:0;font-size:17px}.inbox-head span{font-size:12px;color:var(--muted)}#quickTaskForm{flex:none;margin:12px 0 8px}#quickTask{width:100%;height:45px;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:0 12px;font-size:16px;color:var(--text)}.quick-task-list{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:7px;-webkit-overflow-scrolling:touch}.quick-task{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid var(--line);border-radius:11px;background:var(--surface);text-align:left}.inbox-right{min-height:0;display:grid;grid-template-rows:3fr 1fr;gap:10px}.quick-notes{min-height:0;display:flex;flex-direction:column;padding:14px}.quick-notes textarea{flex:1;min-height:0;margin-top:9px;resize:none;border:0;background:transparent;color:var(--text);font:inherit;line-height:1.5;outline:none;overflow-y:auto}.week-stats{min-height:0;padding:12px 14px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;column-gap:18px}.week-stats h3{margin:0 0 5px;font-size:14px;grid-column:1}.stat-lines{font-size:12px;line-height:1.55;grid-column:1}.mini-chart{grid-column:2;grid-row:1/3;display:flex;align-items:end;justify-content:space-around;gap:5px;min-height:65px}.mini-chart div{height:64px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px;flex:1}.mini-chart span{width:min(18px,70%);background:var(--text);border-radius:4px 4px 2px 2px;opacity:.65}.mini-chart small{font-size:9px;color:var(--muted)}
.four-grid{min-height:0!important;height:100%!important;grid-template-rows:minmax(0,1fr) minmax(0,1fr)!important}.four-card{min-height:0!important;height:auto!important;overflow:hidden!important}.four-list{min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}.workspace{overflow:hidden}.content-pane{overflow:hidden}
@media(max-width:900px){.project-layout{grid-template-columns:42% 58%}.project-folders{grid-template-columns:1fr}.inbox-view{grid-template-columns:1fr 1fr}.week-stats{column-gap:8px}.stat-lines{font-size:11px}}
/* Planner V5 — fixed internal scrolling + projects */
.rail-spacer{flex:1;min-height:10px}.rail-hidden-theme{display:none!important}.rail .theme{margin-top:0}
.main{min-height:0;overflow:hidden}.workspace{height:0;flex:1 1 auto;min-height:0;overflow:hidden}.content-pane{height:100%;min-height:0;overflow:hidden}.day-list-card{height:100%;min-height:0;max-height:100%;overflow:hidden}.section-head{position:relative;z-index:2}.task-list{height:0;flex:1 1 auto;min-height:0;max-height:100%;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
.four-grid{height:100%!important;min-height:0!important;max-height:100%!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) minmax(0,1fr)!important;overflow:hidden}.four-card{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}.four-head{position:relative;z-index:2}.four-list{height:0!important;flex:1 1 auto!important;min-height:0!important;max-height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}
.clip-fab{position:fixed!important;right:88px!important;bottom:22px!important;width:56px!important;height:56px!important;z-index:36!important;box-shadow:var(--shadow)}
.project-folder{justify-content:flex-start;min-height:138px;overflow:hidden}.folder-title{display:flex;flex-direction:column;gap:2px;min-width:0;width:100%}.folder-title b,.project-folder>b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.project-progress{display:block;width:100%;height:5px;border-radius:99px;background:color-mix(in srgb,var(--line) 72%,transparent);overflow:hidden;margin-top:5px}.project-progress i{display:block;height:100%;background:var(--project);border-radius:99px}.modal-progress{--project:currentColor;margin-top:8px}.project-progress-copy{display:block;color:var(--muted);margin:5px 0 12px}.project-description{font-size:13px;line-height:1.45;color:var(--muted);white-space:pre-wrap}.project-modal-title>div{min-width:0}.project-modal-title h2{margin:0 0 2px}.project-modal-title small{color:var(--muted)}
.project-name-row{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:end}.project-color{width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;overflow:hidden}.project-color::-webkit-color-swatch-wrapper{padding:3px}.project-color::-webkit-color-swatch{border:1px solid var(--line);border-radius:50%}.project-name-field{margin:0!important}.project-editor textarea{min-height:90px}.project-actions{flex-wrap:wrap}.archived-pane{height:100%;min-height:0;overflow:hidden}.archived-grid{flex:1;min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:10px;padding:2px 2px 70px}.archived-folder{min-height:140px}.archived-folder .folder-shape svg{stroke:var(--project)}
.modal{max-width:calc(100vw - 32px);overflow-x:hidden}.field,.row2,.row3{min-width:0}.field input,.field select,.field textarea{max-width:100%;min-width:0}.actions{flex-wrap:wrap}
@media(max-width:900px){.archived-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.clip-fab{right:84px!important}.project-name-row{grid-template-columns:48px minmax(0,1fr)}}
/* ===== Planner V6 ===== */
.hidden{display:none!important}.topbar.managerial{grid-template-columns:1fr}.topbar.managerial .view-title{justify-self:start;font-size:18px;font-weight:750}.v6-day-head{padding:15px 16px 14px!important;min-height:86px}.v6-day-head h2{line-height:1.25;margin-bottom:5px}.today-smart{gap:4px!important;line-height:1.35}.day-actions{display:flex;gap:8px;align-items:center}.siren-btn{width:42px;height:38px;border:1px solid #c96363;border-radius:12px;background:color-mix(in srgb,#d94d4d 12%,var(--surface));font-size:19px}.siren-btn:active{animation:siren .35s linear 2}@keyframes siren{25%{transform:rotate(-8deg) scale(1.06)}75%{transform:rotate(8deg) scale(1.06)}}
.task{padding:9px 12px!important}.task-row{align-items:flex-start!important;gap:8px!important}.task-name-progress{flex:1;min-width:0}.task-title{display:block;line-height:1.25}.progress-wrap{margin:4px 0 0!important}.sub-row{padding:3px 0!important;min-height:28px!important}.sub-row.level2{padding-left:26px!important}.details{margin-top:3px!important}.task-tools{display:flex;align-items:center;gap:4px;flex:none}.task-tool{height:29px;min-width:29px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);padding:0 6px;font-size:14px}.star-tool.on{color:#e2b62e;background:color-mix(in srgb,#e2b62e 13%,transparent)}.priority-pill{height:28px;border:0;border-radius:8px;padding:0 8px;font-size:11px;font-weight:700}.priority-pill.high{background:#c95b58;color:white}.priority-pill.medium{background:#d4b34d;color:#29251c}.priority-pill.low{background:#7da781;color:white}.energy-high{color:#d69f31}.energy-medium{color:#7c9a72}.energy-low{color:var(--muted)}
body[data-view="inbox"] .fab{display:none}.paper-note{position:relative;background:repeating-linear-gradient(to bottom,color-mix(in srgb,var(--surface) 94%,transparent) 0 31px,color-mix(in srgb,var(--line) 45%,transparent) 31px 32px)!important;overflow:hidden}.paper-note:after{content:"";position:absolute;right:0;top:0;border-style:solid;border-width:0 0 25px 25px;border-color:transparent transparent var(--line) transparent;opacity:.55}.paper-note textarea{padding:6px 8px!important;line-height:32px!important}.tray-handle{cursor:pointer}
.calendar-week{height:100%;overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface);scrollbar-gutter:stable}.calendar-grid{min-width:980px;display:grid;grid-template-columns:62px repeat(7,minmax(126px,1fr));grid-template-rows:48px 1440px;position:relative}.cal-corner,.cal-day-head{position:sticky;top:0;z-index:8;background:var(--surface);border-bottom:1px solid var(--line)}.cal-day-head{display:flex;align-items:center;justify-content:center;gap:7px;border-left:1px solid var(--line)}.cal-day-head b{font-size:11px;color:var(--muted)}.cal-day-head span{font-weight:700}.cal-timecol{position:relative;grid-column:1;grid-row:2;background:var(--surface)}.cal-timecol span{position:absolute;right:8px;transform:translateY(-7px);font-size:10px;color:var(--muted)}.cal-day-col{position:relative;grid-row:2;border-left:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0 59px,color-mix(in srgb,var(--line) 55%,transparent) 59px 60px)}.cal-event{position:absolute;left:3px;right:3px;border:0;border-left:3px solid var(--event);border-radius:7px;background:color-mix(in srgb,var(--event) 23%,var(--surface));padding:3px 5px;text-align:left;overflow:hidden;display:flex;flex-direction:column;z-index:3}.cal-event small{font-size:9px}.cal-event b{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event-project-row{grid-template-columns:80px minmax(0,1fr)!important}.event-color{width:42px!important;height:42px!important;border-radius:50%!important;padding:3px!important}.repeat-box{display:flex;flex-direction:column;gap:7px}.repeat-inline{display:flex;align-items:center;gap:7px;font-size:12px}.repeat-inline input,.repeat-inline select{height:36px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);padding:0 8px}.repeat-inline input[type=number]{width:70px}
.drag-sub{display:grid!important;grid-template-columns:24px minmax(0,1fr) 34px 34px!important;gap:5px;align-items:center}.drag-grip{cursor:grab;color:var(--muted);text-align:center}.child-host{grid-column:2/5;padding-left:12px;border-left:1px solid var(--line)}
.projects-manager{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.project-card-grid{flex:1;min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:11px;padding:3px;scrollbar-gutter:stable}.v6-project-card{min-height:118px;border:1px solid var(--line);border-radius:15px;background:color-mix(in srgb,var(--project) 10%,var(--surface));padding:14px;text-align:left;display:flex;flex-direction:column;gap:7px;color:var(--text)}.project-title-line{display:flex;align-items:center;gap:8px}.project-dot{width:11px;height:11px;border-radius:50%;background:var(--project)}.v6-project-card>span{font-size:12px;color:var(--muted)}.v6-project-card .project-progress{margin-top:auto}
.tdah-grid{height:100%;min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:10px}.tdah-card{position:relative;min-height:0;overflow:auto;border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:18px}.tdah-card h2{font-size:16px;margin:0 0 12px}.tdah-card.disabled{opacity:.45}.tdah-body h3{font-size:19px}.calm,.question{font-weight:650}.tdah-actions,.focus-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.tdah-actions button,.focus-actions button,.tdah-primary,.five-min{border:1px solid var(--line);border-radius:11px;background:var(--soft);padding:9px 12px}.first-unit{display:flex;align-items:center;gap:8px;font-size:16px}.hourglass,.clock-btn{display:block;margin:18px auto 8px;border:1px solid var(--line);border-radius:50%;width:72px;height:72px;background:var(--soft);font-size:29px}.clock-btn{width:126px;border-radius:20px;font-size:18px}.unit-time{text-align:center;color:var(--muted)}.reserved{display:flex;flex-direction:column;justify-content:center;gap:12px}.reserved button{padding:13px;border:1px solid var(--line);border-radius:11px;background:var(--soft);color:var(--muted)}.tdah-bubble{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);z-index:120;background:var(--text);color:var(--bg);padding:14px 20px;border-radius:18px;animation:bubbleUp .5s ease-out}.tdah-bubble.out{animation:bubbleOut .8s forwards}@keyframes bubbleUp{from{transform:translate(-50%,80px);opacity:0}}@keyframes bubbleOut{to{transform:translate(-50%,-120px);opacity:0}}.confetti{position:absolute;top:40%;width:7px;height:12px;z-index:30;animation:confetti 3s ease-out forwards}@keyframes confetti{to{transform:translate(var(--dx),180px) rotate(var(--rot));opacity:0}}.celebrate{animation:flash .35s linear 4}@keyframes flash{50%{filter:brightness(1.22)}}
.focus-screen .tdah-card:not(#focusMode){opacity:.08;pointer-events:none}.focus-screen #focusMode{position:fixed;z-index:70;left:calc(var(--rail) + 15%);right:15%;top:10%;bottom:10%;box-shadow:var(--shadow);opacity:1}.parking-sheet{position:fixed;z-index:90;top:0;right:0;width:min(430px,42vw);height:55vh;padding:22px;box-shadow:var(--shadow);border:1px solid var(--line);border-radius:0 0 0 18px;background:var(--surface)!important}.parking-sheet textarea{width:100%;height:calc(100% - 70px);border:0;background:transparent;color:var(--text);font:inherit;resize:none;outline:none}.save-parking{position:absolute;left:18px;bottom:16px;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--soft)}.bubble-in{animation:bubbleIn .6s}@keyframes bubbleIn{0%{transform:scale(.3);opacity:0}60%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}
@media(max-width:1000px){.project-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-tools{gap:2px}.task-tool{min-width:27px;padding:0 4px}.tdah-card{padding:13px}}
/* Planner V6.1 */
.v61-projects{display:grid!important;grid-template-columns:1fr 1fr;gap:18px;position:relative}.projects-half,.all-tasks-half{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.project-card-grid{grid-template-columns:1fr!important;overflow-y:auto}.v6-project-card{min-height:118px;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.project-card-copy{display:flex;flex-direction:column;gap:7px;min-width:0}.project-card-copy>span{font-size:12px;color:var(--muted)}.project-ring{--pct:0;width:64px;height:64px;flex:none;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--project) calc(var(--pct)*1%),color-mix(in srgb,var(--text) 10%,transparent) 0)}.project-ring:before{content:"";grid-area:1/1;width:48px;height:48px;border-radius:50%;background:var(--surface)}.project-ring i{grid-area:1/1;z-index:1;font-size:11px;font-style:normal;font-weight:700}.project-all-tasks{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:2px 4px 80px}.project-all-tasks .task{flex:none}.v61-calendar{padding-top:0}.v61-grid{grid-template-columns:62px repeat(7,minmax(0,1fr))!important;grid-template-rows:1440px!important;min-height:1440px}.v61-grid .cal-timecol{grid-column:1;grid-row:1}.v61-grid .cal-day-col{grid-row:1}.v61-grid .cal-day-col:nth-of-type(2){grid-column:2}.v61-grid .cal-day-col:nth-of-type(3){grid-column:3}.v61-grid .cal-day-col:nth-of-type(4){grid-column:4}.v61-grid .cal-day-col:nth-of-type(5){grid-column:5}.v61-grid .cal-day-col:nth-of-type(6){grid-column:6}.v61-grid .cal-day-col:nth-of-type(7){grid-column:7}.v61-grid .cal-day-col:nth-of-type(8){grid-column:8}.v61-grid .cal-timecol span:first-child{transform:translateY(3px)}.cal-event small{display:block;white-space:nowrap;font-size:9px}.cal-event b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tdah-empty{height:0!important;min-height:0!important;padding:0!important;border:0!important;overflow:hidden}.v61-tdah{position:relative;height:100%;grid-template-columns:1fr 1.18fr;grid-template-rows:1fr 1fr;gap:12px;padding:0}.v61-tdah .tdah-card{padding:14px 18px;overflow:auto}.v61-tdah .tdah-card>h2{text-align:center;font-size:18px;margin:0 0 10px;line-height:1.2}.tdah-vine{position:absolute;z-index:8;left:45.8%;top:2%;bottom:2%;width:36px;transform:translateX(-50%);pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:space-around;font-size:23px}.tdah-vine:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:4px;border-radius:50%;background:linear-gradient(#5f8b4a,#89a85e,#527c45);transform:translateX(-50%) rotate(1deg);box-shadow:2px 0 3px #0002}.tdah-vine span{z-index:1;filter:drop-shadow(1px 2px 1px #0003)}.flat-fire{font-size:20px;color:var(--text)}.tdah-hint,.tdah-date{margin:8px 0}.tdah-actions.centered{justify-content:center}.complete-round{width:42px;height:42px;border-radius:50%!important;font-size:22px;padding:0!important}.candidate-nav{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:9px}.candidate-nav button{width:36px;height:30px;border:1px solid var(--line);background:var(--soft);border-radius:10px}.tdah-mini-clock{min-width:110px;text-align:center;font-variant-numeric:tabular-nums}.one-thing{font-size:12px;color:var(--muted);margin:0 0 2px}.parent-context{display:block;color:var(--muted);margin-bottom:4px}.unit-timer-row{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:14px}.unit-timer-row .hourglass{margin:0}.pause-unit{width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--soft);font-size:20px}.unit-timer-row .unit-time{min-width:62px}.unit-tip{text-align:center;margin-top:7px;color:var(--muted);font-size:11px}.hyper-main{display:flex;flex-direction:column;gap:8px}.hyper-now{margin:0;font-size:16px}.hyper-unit{display:flex;align-items:center;gap:8px;font-size:18px}.hyper-unit input{width:22px;height:22px}.hyper-controls{display:grid;grid-template-columns:repeat(4,max-content);justify-content:center;gap:8px}.hyper-controls button,.hyper-start{border:1px solid var(--line);background:var(--soft);border-radius:11px;padding:9px 14px}.hyper-clock-row{display:flex;justify-content:flex-end;align-items:center;gap:9px}.clock-face{width:145px;height:64px;border:1px solid var(--line);background:var(--soft);border-radius:32px;font-size:18px}.flat-icon{min-width:52px;height:44px;border:1px solid var(--line);background:var(--soft);border-radius:12px}.stuck-panel{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.stuck-panel>h3{text-align:center;margin:0 0 10px}.stuck-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.stuck-tool{min-height:150px;border:1px solid var(--line);border-radius:13px;padding:10px;background:color-mix(in srgb,var(--soft) 45%,transparent);overflow:hidden}.stuck-tool h4{text-align:center;margin:0 0 8px;font-size:13px}.stuck-tool textarea{width:100%;height:110px;resize:none;border:0;background:transparent;color:var(--text);outline:none}.micro-list{max-height:105px;overflow-y:auto}.micro-list label{display:flex;gap:5px;margin:5px 0;font-size:12px}.rest60{width:78px;height:78px;border-radius:50%;border:1px solid var(--line);background:var(--soft);font-weight:700}.stuck-tool:last-child{grid-column:3}.focus-screen #focusMode{left:calc(var(--rail) + 14%);right:14%;top:7%;bottom:7%;overflow:auto}.focus-screen #focusMode>h2{font-size:25px;font-family:"Trebuchet MS",system-ui,sans-serif}.focus-screen #focusMode .stuck-grid{grid-template-columns:1fr 1fr 1fr}.focus-screen #focusMode .stuck-tool:last-child{grid-column:3}.focus-screen #focusMode{max-height:86vh}.focus-screen #focusMode .tdah-body{padding-bottom:4px}
@media(max-width:1000px){.v61-projects{gap:10px}.project-ring{width:54px;height:54px}.project-ring:before{width:40px;height:40px}.v61-tdah{grid-template-columns:.95fr 1.25fr}.tdah-vine{left:43.2%}.hyper-controls{grid-template-columns:repeat(2,max-content)}.stuck-grid{grid-template-columns:1fr 1fr}.stuck-tool:last-child{grid-column:auto}}
/* Planner V6.2 – visual pass. The botanical skin is intentionally scoped to TDAH only. */
.art-tool img{width:27px;height:27px;object-fit:contain;display:block}.art-siren{padding:3px!important;overflow:visible}.art-siren img{width:34px;height:34px;object-fit:contain;display:block}.energy-tool.energy-medium img,.energy-tool.energy-low img{width:29px;height:29px}.clock-face img{width:36px;height:36px;object-fit:contain;vertical-align:middle}.art-action{padding:3px!important}.art-action img{width:39px;height:39px;object-fit:contain;display:block;margin:auto}.art-timer{padding:7px!important}.art-timer img{width:52px;height:52px;object-fit:contain;display:block}
/* The week tabs align with the seven agenda columns, leaving the same 62px gutter used by the hour labels. */
body[data-view="schedule"] .weekstrip{padding-left:62px}
/* TDAH stays cream even when the rest of Planner is dark. */
body.dark[data-view="tdah"]{--bg:#f5eddd;--surface:#fff8e9;--soft:#eadfca;--line:#d8c5a5;--text:#443a2d;--muted:#877765;--danger:#a5534a;--shadow:0 18px 44px rgba(82,61,37,.16)}
body[data-view="tdah"] .main,body[data-view="tdah"] .workspace{background:#f5eddd}
body[data-view="tdah"] .v61-tdah{grid-template-columns:minmax(0,46%) minmax(0,54%);grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:12px;width:100%;height:100%}
body[data-view="tdah"] .v61-tdah .tdah-card{width:100%;height:100%;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:100% 100%;box-shadow:none;color:#443a2d;overflow:auto}
body[data-view="tdah"] #whereStart{background-image:url('assets/card-where-start.png');padding:34px 42px 30px 76px}
body[data-view="tdah"] #justStart{background-image:url('assets/card-just-start.png');padding:30px 50px 86px 50px}
body[data-view="tdah"] #focusMode{background-image:url('assets/card-hyperfocus.png');padding:31px 54px 35px 54px}
body[data-view="tdah"] .reserved{border:1px solid #d8c5a5!important;background:#fff8e9!important;border-radius:18px!important;padding:18px!important}
body[data-view="tdah"] .tdah-vine{left:46%;top:0;bottom:0;width:46px;z-index:10;display:block}
body[data-view="tdah"] .tdah-vine:before{display:none}.tdah-vine img{width:100%;height:100%;object-fit:fill;display:block;filter:none}
body[data-view="tdah"] .tdah-card button{color:#443a2d}
body[data-view="tdah"] .tdah-card>h2{color:#443a2d}
body[data-view="tdah"] .tdah-card.disabled{opacity:.55}
body[data-view="tdah"].focus-screen #focusMode{background-image:url('assets/card-hyperfocus-expanded.png');background-size:100% 100%;background-color:transparent!important;border:0!important;padding:48px 72px 64px;left:calc(var(--rail) + 10%);right:8%;top:5%;bottom:5%;max-height:90vh}
body[data-view="tdah"].focus-screen #focusMode>h2{color:#443a2d}
body[data-view="tdah"].focus-screen .tdah-card:not(#focusMode){opacity:.08}
@media(max-width:1000px){body[data-view="schedule"] .weekstrip{padding-left:62px}body[data-view="tdah"] .v61-tdah{grid-template-columns:minmax(0,45%) minmax(0,55%)}body[data-view="tdah"] .tdah-vine{left:45%;width:38px}body[data-view="tdah"] #whereStart{padding:27px 28px 25px 58px}body[data-view="tdah"] #justStart{padding:25px 35px 72px}body[data-view="tdah"] #focusMode{padding:27px 38px 30px}}


/* Planner V6.5 — TDAH proportion/layout correction pass */
/* Keep the illustrated skin exclusive to TDAH; remove the old center divider. */
body[data-view="tdah"] .v61-tdah{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-rows:minmax(0,1fr) minmax(0,1fr);
  gap:16px;
  padding:8px 10px 12px;
  overflow:hidden;
}
body[data-view="tdah"] .tdah-vine{display:none!important}
body[data-view="tdah"] .v61-tdah .tdah-card{min-width:0;min-height:0;overflow:hidden}

/* Compass card: more usable cream area, denser typography. */
body[data-view="tdah"] #whereStart{
  background-size:100% 100%;
  padding:34px 42px 30px 78px;
}
body[data-view="tdah"] #whereStart>h2{font-size:17px;line-height:1.05;margin-bottom:7px}
body[data-view="tdah"] #whereStart .tdah-body{font-size:14px;line-height:1.12}
body[data-view="tdah"] #whereStart .calm{margin:4px 0 7px}
body[data-view="tdah"] #whereStart h3{font-size:17px;line-height:1.08;margin:6px 0}
body[data-view="tdah"] #whereStart .tdah-hint,
body[data-view="tdah"] #whereStart .tdah-date{margin:6px 0;line-height:1.12}
body[data-view="tdah"] #whereStart .tdah-actions{margin-top:8px}
body[data-view="tdah"] #whereStart .candidate-nav{margin-top:6px}

/* Planter card: align subtitle and timer, keep the hint over the planter. */
body[data-view="tdah"] #justStart{padding:27px 48px 88px}
body[data-view="tdah"] #justStart>h2{text-align:center;margin-bottom:2px}
body[data-view="tdah"] #justStart .one-thing{text-align:center;margin:0 0 10px}
body[data-view="tdah"] #justStart .question{margin:4px 0 10px}
body[data-view="tdah"] #justStart .unit-timer-row{margin-top:12px;justify-content:center}
body[data-view="tdah"] #justStart .art-timer{display:grid;place-items:center;padding:0!important;overflow:hidden}
body[data-view="tdah"] #justStart .art-timer img{width:54px;height:54px;margin:auto;object-fit:contain}
body[data-view="tdah"] #justStart .unit-tip{position:absolute;left:18%;right:18%;bottom:68px;text-align:center;margin:0;font-size:11px}

/* Normal hyperfocus card: all controls live in the cream center. */
body[data-view="tdah"] #focusMode{padding:34px 62px 40px 62px}
body[data-view="tdah"] #focusMode>h2{margin:0 0 6px;text-align:center;font-size:18px}
body[data-view="tdah"] #focusMode .hyper-main{gap:6px}
body[data-view="tdah"] #focusMode .hyper-now{margin:0 0 2px}
body[data-view="tdah"] #focusMode .hyper-unit{margin:0 0 3px}
body[data-view="tdah"] #focusMode .hyper-controls{gap:7px}
body[data-view="tdah"] #focusMode .hyper-clock-row{display:grid;grid-template-columns:1fr auto auto 1fr;align-items:center;justify-items:center;gap:9px;margin-top:5px}
body[data-view="tdah"] #focusMode .clock-face{grid-column:2 / 4;grid-row:1;width:150px}
body[data-view="tdah"] #focusMode #parking{grid-column:2;grid-row:2}
body[data-view="tdah"] #focusMode #sleepFocus{grid-column:3;grid-row:2}

/* Reserved lower-right area has no dashboard-card outline. */
body[data-view="tdah"] .reserved{
  border:0!important;background:transparent!important;border-radius:0!important;
  box-shadow:none!important;padding:30px 16px!important;
}

/* Expanded hyperfocus: viewport-bounded centered illustrated frame. */
body[data-view="tdah"].focus-screen #focusMode{
  position:fixed;
  left:calc(var(--rail) + 7vw); right:5vw; top:7vh; bottom:7vh;
  width:auto; height:auto; max-width:none; max-height:none;
  margin:0;
  padding:clamp(48px,6vh,72px) clamp(58px,6vw,94px) clamp(66px,8vh,100px);
  background-size:100% 100%; background-position:center; background-repeat:no-repeat;
  overflow:auto;
}
body[data-view="tdah"].focus-screen #focusMode>h2{font-size:clamp(22px,2.2vw,30px);margin:0 0 10px;text-align:center}
body[data-view="tdah"].focus-screen #focusMode .hyper-main{max-width:900px;margin:0 auto}
body[data-view="tdah"].focus-screen #focusMode .hyper-now,
body[data-view="tdah"].focus-screen #focusMode .hyper-unit{margin-left:0}
body[data-view="tdah"].focus-screen #focusMode .hyper-controls{justify-content:center;margin-top:8px}
body[data-view="tdah"].focus-screen #focusMode .hyper-clock-row{display:grid;grid-template-columns:1fr auto auto 1fr;justify-items:center;margin:12px auto 0;max-width:360px}
body[data-view="tdah"].focus-screen #focusMode .clock-face{grid-column:2 / 4;grid-row:1;width:170px;height:72px}
body[data-view="tdah"].focus-screen #focusMode #parking{grid-column:2;grid-row:2}
body[data-view="tdah"].focus-screen #focusMode #sleepFocus{grid-column:3;grid-row:2}
body[data-view="tdah"].focus-screen #focusMode .stuck-panel{max-width:980px;margin:14px auto 0;padding-top:10px}
body[data-view="tdah"].focus-screen #focusMode .stuck-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body[data-view="tdah"].focus-screen #focusMode .stuck-tool{min-height:135px}
body[data-view="tdah"].focus-screen #focusMode .stuck-tool:last-child{grid-column:3}

/* Clean, centered art icons: never expose neighboring source-art fragments. */
.task-tool.art-tool,.siren-btn.art-siren,.flat-icon.art-action,.art-timer{overflow:hidden!important;display:inline-grid!important;place-items:center!important}
.task-tool.art-tool img{width:26px!important;height:26px!important;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center!important;margin:auto!important}
.siren-btn.art-siren img{width:32px!important;height:32px!important;object-fit:contain!important;object-position:center!important;margin:auto!important}
.flat-icon.art-action img{width:37px!important;height:37px!important;object-fit:contain!important;object-position:center!important;margin:auto!important}

/* TDAH return FAB: plain white arrow on black, no illustrated/blue icon treatment. */
body[data-view="tdah"] .fab{background:#302f2b!important;color:#fff!important;background-image:none!important;font-family:system-ui,sans-serif!important}

@media(max-width:1000px){
 body[data-view="tdah"] .v61-tdah{grid-template-columns:1fr 1fr;gap:10px;padding:5px}
 body[data-view="tdah"] #whereStart{padding:25px 25px 24px 58px}
 body[data-view="tdah"] #whereStart>h2{font-size:15px}
 body[data-view="tdah"] #whereStart .tdah-body{font-size:12.5px}
 body[data-view="tdah"] #whereStart h3{font-size:15px}
 body[data-view="tdah"] #justStart{padding:23px 30px 72px}
 body[data-view="tdah"] #justStart .unit-tip{bottom:54px}
 body[data-view="tdah"] #focusMode{padding:25px 36px 28px}
 body[data-view="tdah"].focus-screen #focusMode{left:calc(var(--rail) + 4vw);right:3vw;top:5vh;bottom:5vh;padding:42px 48px 68px}
 body[data-view="tdah"].focus-screen #focusMode .stuck-tool{min-height:120px}
}

/* Planner V7 — No sé por dónde empezar */
body[data-view="tdah"] #whereStart{
  padding:38px 54px 34px 112px;
  overflow:hidden;
}
body[data-view="tdah"] #whereStart>h2{
  margin:0 0 5px 12px;
  text-align:center;
}
body[data-view="tdah"] #whereStart .tdah-body{
  height:calc(100% - 25px);
  display:flex;
  flex-direction:column;
  min-height:0;
  padding:0 12px 0 8px;
}
body[data-view="tdah"] #whereStart .where-copy{margin-left:18px;max-width:calc(100% - 28px)}
body[data-view="tdah"] #whereStart .where-copy h3,
body[data-view="tdah"] #whereStart .where-copy p{display:flex;align-items:center;gap:7px}
body[data-view="tdah"] #whereStart .where-inline-icon{width:24px;height:24px;object-fit:contain;flex:none}
body[data-view="tdah"] #whereStart h3 .where-inline-icon{width:28px;height:28px}
body[data-view="tdah"] #whereStart .where-control-zone{margin-top:auto;padding:6px 8px 0;display:grid;grid-template-columns:74px 1fr 70px;align-items:center;column-gap:8px}
body[data-view="tdah"] #whereStart .where-side-controls{display:flex;flex-direction:column;gap:7px;align-items:stretch}
body[data-view="tdah"] #whereStart .where-side-controls button{padding:6px 4px;border:1px solid #d8c5a5;border-radius:10px;background:#f0e7d7;font-size:11px}
body[data-view="tdah"] #whereStart .where-side-controls button:disabled{opacity:.38}
body[data-view="tdah"] #whereStart .where-main-controls{display:flex;justify-content:center;align-items:center;gap:8px;min-width:0}
body[data-view="tdah"] #whereStart .where-main-controls>button,
body[data-view="tdah"] #whereStart .other-task-box{border:1px solid #d8c5a5;background:#eee5d5;border-radius:12px}
body[data-view="tdah"] #whereStart #tdahBegin{padding:10px 14px}
body[data-view="tdah"] #whereStart .other-task-box{min-width:112px;padding:5px 7px 6px;text-align:center}
body[data-view="tdah"] #whereStart .other-task-box>span{display:block;font-size:13px;margin-bottom:4px}
body[data-view="tdah"] #whereStart .other-task-box>div{display:flex;justify-content:center;gap:12px}
body[data-view="tdah"] #whereStart .other-task-box button{width:34px;height:27px;padding:0;border:1px solid #d8c5a5;border-radius:9px;background:#f8f1e5;font-size:20px;line-height:1}
body[data-view="tdah"] #whereStart .complete-round{width:44px;height:44px;flex:none}
body[data-view="tdah"] #whereStart .where-metrics{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
body[data-view="tdah"] #whereStart .where-elapsed{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
body[data-view="tdah"] #whereStart .where-session-ring{--where-pct:0;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#e85b4d calc(var(--where-pct)*1%),#eadfca 0);position:relative}
body[data-view="tdah"] #whereStart .where-session-ring:before{content:"";position:absolute;inset:6px;border-radius:50%;background:#fff8e9}
body[data-view="tdah"] #whereStart .where-session-ring span{position:relative;z-index:1;font-weight:750;font-size:13px}
@media(max-width:1000px){
 body[data-view="tdah"] #whereStart{padding:29px 30px 25px 78px}
 body[data-view="tdah"] #whereStart .tdah-body{padding-right:6px}
 body[data-view="tdah"] #whereStart .where-copy{margin-left:12px}
 body[data-view="tdah"] #whereStart .where-control-zone{grid-template-columns:62px 1fr 56px;column-gap:5px;padding-left:0;padding-right:0}
 body[data-view="tdah"] #whereStart .where-main-controls{gap:5px}
 body[data-view="tdah"] #whereStart #tdahBegin{padding:8px 9px}
 body[data-view="tdah"] #whereStart .other-task-box{min-width:96px}
 body[data-view="tdah"] #whereStart .where-session-ring{width:40px;height:40px}
}

/* V7.1 — ajuste definitivo de No sé por dónde empezar */
body[data-view="tdah"] #whereStart{
  padding:48px 44px 38px 112px;
  overflow:hidden;
}
body[data-view="tdah"] #whereStart>h2{
  margin:4px 0 7px 18px;
  font-size:18px;
  line-height:1.05;
  text-align:center;
}
body[data-view="tdah"] #whereStart .tdah-body{
  height:calc(100% - 30px);
  padding:0 10px 0 5px;
  display:flex;
  flex-direction:column;
  min-height:0;
}
body[data-view="tdah"] #whereStart .where-copy{
  margin:0 0 0 20px;
  max-width:calc(100% - 26px);
}
body[data-view="tdah"] #whereStart .where-copy h3,
body[data-view="tdah"] #whereStart .where-copy p{
  margin-top:3px;
  margin-bottom:3px;
  line-height:1.02;
}
body[data-view="tdah"] #whereStart .where-copy h3{font-size:17px;margin-top:5px;margin-bottom:4px}
body[data-view="tdah"] #whereStart .where-inline-icon{width:22px;height:22px;object-fit:contain}
body[data-view="tdah"] #whereStart h3 .where-inline-icon{width:25px;height:25px}
body[data-view="tdah"] #whereStart .pen-icon{width:21px;height:21px}
body[data-view="tdah"] #whereStart .where-control-zone{
  margin-top:auto;
  padding:4px 5px 2px 0;
  display:grid;
  grid-template-columns:68px minmax(82px,1fr) minmax(116px,1.35fr) 54px;
  align-items:center;
  justify-items:center;
  column-gap:8px;
}
body[data-view="tdah"] #whereStart .where-side-controls{
  width:68px;
  display:flex;
  flex-direction:column;
  gap:5px;
}
body[data-view="tdah"] #whereStart .where-side-controls button{
  width:100%;
  min-height:30px;
  padding:4px 3px;
}
body[data-view="tdah"] #whereStart .where-start-stack,
body[data-view="tdah"] #whereStart .where-finish-stack{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  min-width:0;
}
body[data-view="tdah"] #whereStart #tdahBegin{
  min-width:92px;
  min-height:42px;
  border:1px solid #d8c5a5;
  background:#eee5d5;
  border-radius:12px;
  padding:8px 12px;
}
body[data-view="tdah"] #whereStart .where-elapsed{
  display:block;
  min-width:92px;
  text-align:center;
  font-size:12px;
  line-height:1;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
body[data-view="tdah"] #whereStart .other-task-box{
  width:100%;
  max-width:150px;
  min-width:116px;
  padding:5px 8px 6px;
}
body[data-view="tdah"] #whereStart .complete-round{width:42px;height:42px;margin:0}
body[data-view="tdah"] #whereStart .where-session-ring{
  --where-pct:0;
  width:38px;
  height:38px;
  margin:0;
  background:conic-gradient(#e85b4d calc(var(--where-pct)*1%),#eadfca 0);
}
body[data-view="tdah"] #whereStart .where-session-ring:before{inset:5px;background:#fff8e9}
body[data-view="tdah"] #whereStart .where-session-ring span{font-size:12px}
@media(max-width:1000px){
  body[data-view="tdah"] #whereStart{padding:38px 24px 30px 76px}
  body[data-view="tdah"] #whereStart>h2{font-size:16px;margin-left:12px}
  body[data-view="tdah"] #whereStart .where-copy{margin-left:12px}
  body[data-view="tdah"] #whereStart .where-control-zone{grid-template-columns:58px minmax(72px,1fr) minmax(96px,1.25fr) 46px;column-gap:5px}
  body[data-view="tdah"] #whereStart .where-side-controls{width:58px}
  body[data-view="tdah"] #whereStart #tdahBegin{min-width:76px;padding:7px 8px}
  body[data-view="tdah"] #whereStart .where-elapsed{min-width:76px;font-size:10.5px}
  body[data-view="tdah"] #whereStart .other-task-box{min-width:96px}
  body[data-view="tdah"] #whereStart .complete-round{width:38px;height:38px}
  body[data-view="tdah"] #whereStart .where-session-ring{width:34px;height:34px}
}


/* V1.3 — ajuste final de posición en “No sé por dónde empezar” */
body[data-view="tdah"] #whereStart>h2{transform:translateY(10px);}
body[data-view="tdah"] #whereStart .tdah-body{padding-top:10px;}
body[data-view="tdah"] #whereStart .where-control-zone{transform:translateY(-14px);}
@media(max-width:1000px){
  body[data-view="tdah"] #whereStart>h2{transform:translateY(8px);}
  body[data-view="tdah"] #whereStart .tdah-body{padding-top:8px;}
  body[data-view="tdah"] #whereStart .where-control-zone{transform:translateY(-12px);}
}

/* Planner V7.5 — ajustes finales TDAH + countdown progresivo 10/15/20 */
body[data-view="tdah"] #whereStart>h2{transform:translateY(18px)}
body[data-view="tdah"] #whereStart .tdah-body{padding-top:18px}
body[data-view="tdah"] #whereStart .where-control-zone{transform:translateY(-22px)}
body[data-view="tdah"] #justStart .tdah-body{position:relative;height:calc(100% - 28px);display:flex;flex-direction:column;align-items:center}
body[data-view="tdah"] #justStart .one-thing{text-align:center;width:100%;margin:0}
body[data-view="tdah"] #justStart .just-unit-block{width:min(78%,360px);margin:auto auto 0;text-align:left;align-self:center}
body[data-view="tdah"] #justStart .just-unit-block .question{margin:0 0 8px}
body[data-view="tdah"] #justStart .parent-context{margin:0 0 6px}
body[data-view="tdah"] #justStart .unit-timer-row{margin:14px auto 0;display:flex;align-items:center;justify-content:center;gap:14px;width:100%}
body[data-view="tdah"] #justStart .pause-unit:disabled{opacity:.35}
body[data-view="tdah"] #justStart .just-countdown-ring{--just-pct:0;width:66px;height:66px;flex:none;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(#e85b4d calc(var(--just-pct)*1%),#eadfca 0)}
body[data-view="tdah"] #justStart .just-countdown-ring:before{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff8e9}
body[data-view="tdah"] #justStart .just-countdown-ring span{position:relative;z-index:1;font-size:13px;font-weight:750;font-variant-numeric:tabular-nums;color:#443a2d}
body[data-view="tdah"] #justStart .unit-tip{position:static!important;width:100%;margin:5px 0 4px!important;text-align:center!important;font-size:11px}
body[data-view="tdah"] .fab .tdah-return-arrow{width:27px;height:27px;display:block;margin:auto;fill:none;stroke:#fff;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}
body[data-view="tdah"] .fab{background:#302f2b!important;color:#fff!important;border:0!important;box-shadow:var(--shadow)!important}
@media(max-width:1000px){
 body[data-view="tdah"] #whereStart>h2{transform:translateY(14px)}
 body[data-view="tdah"] #whereStart .tdah-body{padding-top:14px}
 body[data-view="tdah"] #whereStart .where-control-zone{transform:translateY(-18px)}
 body[data-view="tdah"] #justStart .just-unit-block{width:min(84%,320px)}
 body[data-view="tdah"] #justStart .just-countdown-ring{width:58px;height:58px}
}

/* Planner V7.6 — cierre visual previo a V8 */
body[data-view="tdah"] #whereStart>h2{transform:translateY(25px)}
body[data-view="tdah"] #whereStart .tdah-body{padding-top:25px}
body[data-view="tdah"] #whereStart .calm{text-align:center;justify-content:center!important}
body[data-view="tdah"] #whereStart .where-control-zone{transform:translateY(-29px)}
body[data-view="tdah"] #justStart .just-unit-block{transform:translateY(-18px)}
body[data-view="tdah"] #justStart .unit-timer-row{transform:translateY(-14px)}
body[data-view="tdah"] #justStart .unit-tip{transform:translateY(-14px);margin-top:2px!important}
body[data-view="tdah"] #focusMode>h2{transform:translateY(15px);margin-bottom:20px}
body[data-view="tdah"] #focusMode .hyper-main{align-items:flex-start;padding-left:8px}
body[data-view="tdah"] #focusMode .hyper-unit{width:100%;justify-content:flex-start}
body[data-view="tdah"] #focusMode .hyper-controls,
body[data-view="tdah"] #focusMode .hyper-clock-row{align-self:center}
body[data-view="tdah"] #focusMode button:disabled{opacity:.38;cursor:default;pointer-events:none}
body[data-view="tdah"].focus-screen #focusMode>h2{transform:none;margin-bottom:10px}
body[data-view="tdah"].focus-screen #focusMode .hyper-main{align-items:stretch;padding-left:0}
body[data-view="tdah"].focus-screen #focusMode button:disabled{opacity:.55}
@media(max-width:1000px){
 body[data-view="tdah"] #whereStart>h2{transform:translateY(20px)}
 body[data-view="tdah"] #whereStart .tdah-body{padding-top:20px}
 body[data-view="tdah"] #whereStart .where-control-zone{transform:translateY(-24px)}
 body[data-view="tdah"] #justStart .just-unit-block{transform:translateY(-14px)}
 body[data-view="tdah"] #justStart .unit-timer-row,body[data-view="tdah"] #justStart .unit-tip{transform:translateY(-11px)}
}

/* Planner V8 — Trabajo libre / Hoja de trabajo */
body[data-view="freework"] .topbar,body[data-view="freework"] .weekstrip{display:none}body[data-view="freework"] .workspace{height:100%;padding:18px 22px 84px}.freework{height:100%;overflow:auto}.free-top{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:16px}.free-top input{margin-left:auto;width:min(440px,46vw)}.free-filters{display:flex;gap:5px}.free-filters button{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:8px 11px}.free-filters button:hover{background:var(--soft)}.free-filters button.active{background:var(--soft);color:var(--text);border-color:color-mix(in srgb,var(--text) 22%,var(--line))}.free-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-content:start}.free-project{aspect-ratio:1.75/1;min-height:0;text-align:left;border:1px solid var(--line);background:var(--card);border-radius:16px;padding:14px 15px;display:flex;flex-direction:column;gap:7px;box-shadow:var(--shadow);color:var(--text)}.free-project-head{display:flex;align-items:center;gap:9px;font-size:16px}.free-dot{width:13px;height:13px;border-radius:50%;background:var(--p)}.free-project-meta{font-size:12px;line-height:1.35;font-weight:450;color:var(--muted)}.free-progress{height:5px;border-radius:99px;background:var(--line);overflow:hidden;margin-top:auto}.free-progress i{display:block;height:100%;background:var(--p)}.continue-work{margin:4px 0 18px}.continue-work h3{margin:5px 0 8px}.continue-work button{display:grid;grid-template-columns:1fr auto;gap:3px 12px;width:100%;text-align:left;border:1px solid color-mix(in srgb,var(--continue) 24%,var(--line));background:color-mix(in srgb,var(--continue) 10%,var(--surface));color:var(--text);border-radius:12px;padding:12px 14px}.continue-work button span,.continue-work button small{color:var(--muted)}
body.worksheet-mode{overflow:hidden;background:#f3ecde}body.worksheet-mode #toast{z-index:99999}.worksheet{position:fixed;inset:0;background:#f3ecde;color:#3d3932;z-index:9990}.ws-canvas{position:absolute;inset:0;overflow:hidden;touch-action:none;outline:0;cursor:grab}.ws-canvas[data-tool="card"],.ws-canvas[data-tool="group"],.ws-canvas[data-tool="connector"]{cursor:crosshair}.ws-grid{position:absolute;inset:0;background-image:radial-gradient(circle,#9e9585 1px,transparent 1px);opacity:.18;pointer-events:none}.ws-world,.ws-groups,.ws-links{position:absolute;left:0;top:0;transform-origin:0 0;overflow:visible}.ws-world,.ws-groups{width:1px;height:1px}.ws-links{width:1px;height:1px;pointer-events:none}.ws-link{fill:none;stroke:#8d8477;stroke-width:2;pointer-events:stroke}.ws-links text{font-size:12px;fill:#5f584e;text-anchor:middle}.ws-toolbar{position:absolute;top:max(14px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);display:flex;gap:5px;align-items:center;background:rgba(250,246,237,.94);border:1px solid #d9d0c2;border-radius:16px;padding:6px;box-shadow:0 8px 24px #5b51401a;backdrop-filter:blur(10px);z-index:20}.ws-toolbar button,.ws-zoom button{width:38px;height:36px;border:0;border-radius:10px;background:transparent;color:#514b43;font-size:19px}.ws-toolbar button.active{background:#ded4c3}.ws-toolbar #wsSave{font-size:11px;color:#8b8174;padding:0 8px}.ws-zoom{position:absolute;left:18px;bottom:18px;display:flex;align-items:center;background:#fbf7ef;border:1px solid #d9d0c2;border-radius:13px;padding:3px;box-shadow:0 6px 18px #5b514018;z-index:20}.ws-zoom span{min-width:54px;text-align:center;font-size:12px}.ws-return{position:absolute;right:20px;bottom:18px;width:52px;height:52px;border-radius:50%;border:0;background:#302f2b;box-shadow:0 7px 20px #4a423530;z-index:25}.ws-return svg{width:27px;fill:none;stroke:#fff;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.ws-card,.ws-image,.ws-group{position:absolute;box-sizing:border-box;touch-action:none}.ws-card{background:#fffaf0;border:1px solid #d9cfbd;border-radius:16px;padding:14px 34px 14px 14px;box-shadow:0 5px 14px #5c514016;display:flex;align-items:center}.ws-card.level-1{font-size:17px;font-weight:750}.ws-card.level-2{font-size:14px;font-weight:650}.ws-card.level-3{font-size:12px;font-weight:600}.ws-card.selected,.ws-image.selected,.ws-group.selected{outline:2px solid #8e826f;outline-offset:3px}.ws-card-title{width:100%;outline:0}.ws-child{position:absolute;right:-13px;top:50%;transform:translateY(-50%);width:27px;height:27px;border-radius:50%;border:1px solid #cfc3b0;background:#fffaf0;color:#5c5449}.ws-branch{position:absolute;right:8px;top:6px;border:0;background:transparent;color:#8c8171}.ws-group{border:1px solid #cfc5b5;border-radius:22px;background:#d9cfbd20;padding:16px;pointer-events:auto}.ws-group-title{font-size:13px;font-weight:700;color:#756b5e}.ws-image{border-radius:14px}.ws-image img{display:block;width:100%;height:auto;border-radius:14px}.ws-resize{position:absolute;right:-5px;bottom:-5px;width:17px;height:17px;border-radius:50%;background:#8e826f;border:3px solid #f3ecde}.ws-marquee{position:absolute;border:1px dashed #7d7263;background:#a99d8918;pointer-events:none}.flash{animation:wsflash 1.2s ease}@keyframes wsflash{50%{box-shadow:0 0 0 9px #e6c86f66}}
.ws-panel{position:fixed;left:0;top:0;bottom:0;width:60vw;z-index:50;background:#fbf7ef;border-right:1px solid #d7cebf;box-shadow:12px 0 35px #4b43351f;padding:24px;display:flex;flex-direction:column;gap:12px}.ws-panel header{display:flex;justify-content:space-between;align-items:flex-start}.ws-panel header h2{margin:2px 0 0}.ws-panel header button{border:0;background:transparent;font-size:28px}.ws-card-options{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.ws-card-options label{font-size:12px}.ws-card-options button,.ws-card-options select{border:1px solid #d8cebe;background:#fffaf2;border-radius:9px;padding:7px 9px}.richbar{display:flex;gap:4px;align-items:center;flex-wrap:wrap;border-top:1px solid #e2d9cb;border-bottom:1px solid #e2d9cb;padding:7px 0}.richbar button,.richbar select{border:0;background:#eee6d9;border-radius:7px;min-width:31px;height:30px}.rich-editor{flex:1;overflow:auto;outline:0;line-height:1.55;background:#fffdf8;border-radius:12px;padding:18px;border:1px solid #e5dccf}.ws-searchbox{position:absolute;top:70px;left:50%;transform:translateX(-50%);z-index:60;width:min(430px,70vw);background:#fbf7ef;border:1px solid #d8cebe;border-radius:14px;box-shadow:0 10px 30px #443b2d22;padding:8px}.ws-searchbox input{width:100%;box-sizing:border-box;border:0;background:#eee7dc;border-radius:9px;padding:11px;outline:0}.ws-searchbox div{max-height:260px;overflow:auto}.ws-searchbox button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:9px;border-radius:8px}.ws-searchbox button:hover{background:#eee6da}
@media(max-width:1000px){.free-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.free-project{padding:12px;min-height:130px}.ws-toolbar{max-width:78vw;overflow-x:auto}.ws-panel{width:60vw;padding:18px}.ws-toolbar button{min-width:36px}}

/* ===== Planner V8.1 · Hoja de trabajo ===== */
.worksheet button,.worksheet .ws-toolbar button,.worksheet .ws-zoom button,.worksheet .ws-return{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1;padding:0}
.ws-toolbar button>span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;line-height:1}
.ws-toolbar .ws-big-icon>span{font-size:24px;transform:none}.ws-toolbar [data-tool="search"]>span{font-size:27px}.ws-toolbar [data-tool="connector"]>span{font-size:26px}
.ws-toolbar [data-tool="pencil"]>span{font-size:22px}.ws-toolbar [data-tool="image"]>span{font-size:22px}.ws-toolbar [data-tool="group"]>span{font-size:24px}
.ws-toolbar [data-advanced] {width:auto;min-width:38px;padding:0 9px}.ws-toolbar [data-advanced] span{font-size:12px;white-space:nowrap}.ws-sep{width:1px;height:22px;background:rgba(73,64,53,.16);margin:0 3px}
.ws-return svg{display:block;width:24px;height:24px;margin:0;transform:none}.ws-return svg path{fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}
.ws-grid{background-image:linear-gradient(rgba(105,94,77,.115) 1px,transparent 1px),linear-gradient(90deg,rgba(105,94,77,.115) 1px,transparent 1px)!important}
.ws-draw{position:absolute;inset:0;width:1px;height:1px;overflow:visible;transform-origin:0 0;z-index:2;pointer-events:none}.ws-links{z-index:1}.ws-groups{z-index:0}.ws-world{z-index:3}
.ws-penpanel{position:absolute;top:68px;left:50%;transform:translateX(-50%);z-index:40;display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid rgba(83,73,60,.14);border-radius:15px;background:rgba(250,246,237,.97);box-shadow:0 8px 24px rgba(62,52,40,.13);backdrop-filter:blur(10px)}
.ws-penpanel button{min-width:34px;height:34px;padding:0 8px!important;border:0;border-radius:10px;background:transparent;color:#514a42}.ws-penpanel button.active{background:#e6ded0}.ws-penpanel>i{width:1px;height:22px;background:#d7cdbd}.ws-colors{display:flex;gap:5px}.ws-colors button{width:25px!important;min-width:25px!important;height:25px!important;border-radius:50%!important;background:var(--c)!important;border:2px solid #fff!important;box-shadow:0 0 0 1px rgba(65,58,49,.16)}.ws-colors button.active{box-shadow:0 0 0 2px #756b5e}.ws-penpanel label{font-size:11px;white-space:nowrap;display:flex;align-items:center;gap:5px;margin-left:3px}
.ws-card{height:auto!important}.ws-card-title{white-space:normal;overflow-wrap:anywhere;line-height:1.18}.ws-card>.ws-child{display:none!important}.ws-card.visual-ref:after{content:none}.ws-card.locked{outline:1px dashed rgba(76,67,57,.25)}.ws-card.locked:before{content:'⌑';position:absolute;left:7px;bottom:3px;font-size:11px;opacity:.5}
.ws-pop{position:fixed;z-index:100;min-width:180px;max-width:390px;max-height:70vh;overflow:auto;display:flex;flex-direction:column;gap:5px;padding:9px;background:#fbf7ef;border:1px solid rgba(75,65,52,.15);border-radius:13px;box-shadow:0 12px 35px rgba(50,42,33,.18);color:#49433c}.ws-pop>button,.ws-pop section button{justify-content:flex-start;min-height:34px;padding:6px 10px;border:0;border-radius:9px;background:transparent;color:inherit}.ws-pop>button:hover,.ws-pop section button:hover{background:#eee6da}.ws-pop label{display:flex;flex-direction:column;gap:4px;font-size:11px}.ws-pop input,.ws-pop select,.ws-pop textarea,.ws-miniinput{min-height:34px;border:1px solid #d9cfc0;border-radius:9px;background:#fffdf9;padding:6px 8px;color:#433d36}.ws-pop section{display:grid;grid-template-columns:1fr auto auto auto;gap:4px;align-items:center;padding:5px 0;border-bottom:1px solid rgba(75,65,52,.09)}
.ws-index{position:absolute;top:70px;right:14px;bottom:70px;width:300px;z-index:45;background:rgba(250,246,237,.97);border:1px solid rgba(75,65,52,.14);border-radius:16px;box-shadow:0 10px 30px rgba(50,42,33,.15);overflow:auto}.ws-index header{position:sticky;top:0;display:grid;grid-template-columns:auto 1fr 32px;gap:7px;align-items:center;padding:10px;background:#faf6ed;border-bottom:1px solid rgba(75,65,52,.09)}.ws-index header input{min-width:0;height:32px;border:1px solid #d9cfc0;border-radius:9px;padding:0 8px;background:#fffdf9}.ws-index>div{display:flex;flex-direction:column;padding:8px}.ws-index>div button{justify-content:flex-start;min-height:34px;border:0;border-radius:8px;background:transparent;color:#4b443c;text-align:left}.ws-index>div button:hover{background:#eee7dc}.ws-index small{opacity:.55;margin-left:auto}
.ws-navrefs{display:flex;gap:6px;padding:0 18px 8px}.ws-navrefs button{height:30px;padding:0 9px!important;border:1px solid #ded4c6;border-radius:9px;background:#f7f1e8;color:#554d44}.ws-knowledge{padding:12px 18px 24px;display:flex;flex-direction:column;gap:10px}.ws-knowledge details{border-top:1px solid rgba(75,65,52,.12);padding-top:10px}.ws-knowledge summary{font-size:11px;font-weight:700;letter-spacing:.04em;cursor:pointer}.ws-knowledge label{display:flex;flex-direction:column;gap:5px;font-size:12px;margin:8px 0}.ws-knowledge input,.ws-knowledge textarea{border:1px solid #d9cfc0;border-radius:9px;padding:8px;background:#fffdf9}.ws-knowledge textarea{min-height:80px}.ws-knowledge [data-cid]{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:8px;border:0;border-radius:8px;background:transparent}.ws-knowledge [data-cid]:hover{background:#eee7dc}.ws-knowledge [data-cid] small{opacity:.65;text-align:left}.ws-ref{display:inline-block;padding:1px 5px;border-radius:6px;background:#e9e2d5;color:#51483f;cursor:pointer}.ws-refmenu{display:flex;flex-direction:column;margin:8px 0;padding:6px;border:1px solid #ddd2c3;border-radius:10px;background:#fffdf9}.ws-refmenu button{justify-content:flex-start;min-height:30px;border:0;background:transparent;border-radius:7px;color:#4d463e}.ws-refmenu button:hover{background:#f0e9df}
.ws-recall .ws-card-title{user-select:none}
@media (pointer:coarse){.ws-toolbar button{min-width:42px;min-height:42px}.ws-penpanel button{min-height:38px}.ws-card-tools button{width:34px;height:34px}.ws-pop>button{min-height:42px}.ws-penpanel{max-width:94vw;overflow-x:auto}}
@media (max-width:900px){.ws-toolbar [data-advanced="study"] span,.ws-toolbar [data-advanced="organize"] span{font-size:0}.ws-toolbar [data-advanced="study"] span:after{content:'▾';font-size:15px}.ws-toolbar [data-advanced="organize"] span:after{content:'↔';font-size:16px}.ws-index{width:280px}.ws-penpanel{left:12px;right:12px;transform:none}}

/* ===== Planner V8.2 · refinamiento Hoja de trabajo ===== */
.ws-toolbar{gap:7px;padding:7px 9px;border-radius:17px;overflow:visible!important;max-width:calc(100vw - 42px)!important}
.ws-toolbar button{width:42px;height:42px;min-width:42px;border-radius:11px}
.ws-toolbar button span,.ws-toolbar button svg{pointer-events:none}
.ws-toolbar button svg,.ws-zoom button svg,.ws-card-tools button svg,.richbar button svg{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.ws-toolbar [data-tool="search"] svg{width:29px;height:29px;stroke-width:1.65}.ws-toolbar [data-tool="connector"] svg{width:27px;height:27px}.ws-toolbar [data-tool="pencil"] svg{width:27px;height:27px}.ws-toolbar [data-tool="group"] svg,.ws-toolbar [data-tool="image"] svg{width:25px;height:25px}
.ws-toolbar [data-advanced="index"]{width:42px;padding:0}.ws-toolbar [data-advanced="index"] svg{width:24px;height:24px}.ws-toolbar [data-advanced="study"],.ws-toolbar [data-advanced="organize"]{width:auto;min-width:auto;padding:0 7px}.ws-toolbar [data-advanced="study"] span,.ws-toolbar [data-advanced="organize"] span{font-size:13px!important}.ws-toolbar [data-advanced="more"]{width:40px;padding:0;font-size:19px}
.ws-saveicon{width:35px;height:35px;display:flex;align-items:center;justify-content:center;color:#82796d;transition:opacity .18s}.ws-saveicon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}.ws-saveicon[data-state="saving"]{opacity:.42}.ws-saveicon[data-state="saved"]{opacity:.82}
.ws-grid{opacity:1!important;background-image:linear-gradient(rgba(105,94,77,.17) 1px,transparent 1px),linear-gradient(90deg,rgba(105,94,77,.17) 1px,transparent 1px)!important}
.ws-return{color:#fff!important}.ws-return svg{width:28px!important;height:28px!important;stroke:#fff!important;transform:translateX(-1px)!important}
.ws-zoom [data-z="fit"] svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ws-penpanel{top:70px;gap:8px;padding:7px 10px;background:#2e2f2f;color:#f7f5ef;border-color:#262727;box-shadow:0 10px 28px rgba(20,20,18,.28);border-radius:14px;overflow:visible!important;max-width:calc(100vw - 32px)!important}
.ws-pen-kinds{display:flex;gap:5px}.ws-penpanel button{color:#f5f2ea;background:transparent}.ws-penpanel button.active{background:#4f7e8b}.ws-penpanel svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ws-penpanel>i{background:#555;height:26px}.ws-colors{align-items:center}.ws-colors button{width:28px!important;min-width:28px!important;height:28px!important;border:2px solid #303131!important;box-shadow:0 0 0 1px #555!important}.ws-colors button.active{box-shadow:0 0 0 2px #e8e5dd!important}.ws-addcolor{border:1px dashed #777!important;background:transparent!important;font-size:20px!important;color:#eee!important}
.ws-stroke-trigger span,.ws-width-pop button span{display:block;width:42px;background:currentColor;border-radius:99px}.ws-width-pop{position:absolute;top:48px;left:45%;display:flex;align-items:center;gap:4px;padding:7px;background:#2e2f2f;border:1px solid #555;border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,.25)}.ws-width-pop[hidden]{display:none}.ws-width-pop button{width:52px!important;padding:0 5px!important}

.ws-card-actions{min-width:220px;padding:10px}.ws-card-actions>button{font-size:14px;padding:10px 12px;min-height:42px}
.ws-panel{width:45vw!important;padding:20px!important;gap:10px}.ws-panel header{min-height:70px}.ws-panel header small{font-size:12px}.ws-panel header h2{font-size:24px}.ws-panel-controls{display:grid!important;grid-template-columns:minmax(170px,1fr) auto auto auto auto;gap:8px!important;align-items:center!important;border-top:1px solid #e2d9cb;padding-top:9px}.ws-level-control{justify-self:start;display:flex!important;align-items:center;gap:7px;font-size:12px!important}.ws-level-control select{min-width:125px;height:38px}.ws-panel-action{height:38px!important;padding:0 13px!important;font-size:12px;border-radius:10px!important}.ws-panel-action.act-front,.ws-panel-action.act-back{background:#e4f0e4!important;border-color:#bdd5bf!important}.ws-panel-action.act-dup{background:#e4edf8!important;border-color:#b9cde5!important}.ws-panel-action.act-del{background:#f8e3e0!important;border-color:#e5b7b0!important;color:#9b4038!important}
.richbar{flex-wrap:nowrap!important;overflow-x:auto;min-height:42px}.richbar button,.richbar select{flex:0 0 auto;background:transparent!important;border:1px solid transparent!important}.richbar button:hover{background:#eee6d9!important}.richbar button svg{width:20px;height:20px}.richbar .ws-dictate{margin-left:auto;border:1px solid #d8cebe!important;border-radius:50%!important;width:36px;height:36px;min-width:36px}.richbar .ws-dictate.listening{background:#f4d9d5!important;color:#a53f36}.rich-editor{font-size:15px;-webkit-user-select:text;user-select:text}.ws-knowledge{padding-left:0;padding-right:0}
.ws-pop[data-menu="study"],.ws-pop[data-menu="organize"]{min-width:220px}.ws-pop[data-menu="study"]>button,.ws-pop[data-menu="organize"]>button{font-size:15px;min-height:46px}
@media(max-width:1000px){.ws-panel{width:45vw!important;padding:16px!important}.ws-panel-controls{grid-template-columns:minmax(150px,1fr) repeat(4,auto)}.ws-panel-action{padding:0 9px!important}.ws-toolbar{left:50%;max-width:calc(100vw - 28px)!important}.ws-penpanel{left:50%;right:auto;transform:translateX(-50%);max-width:calc(100vw - 28px)!important}}

/* V8.3 */
.group-del83{position:absolute;right:8px;top:7px;width:28px;height:28px;border:0;border-radius:50%;background:#fff8ee;color:#665e53;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #4c43321f}.ws-tertiary{position:absolute;z-index:80;min-width:260px;max-width:390px;background:#fbf7ef;border:1px solid #d8cebf;border-radius:15px;padding:12px;box-shadow:0 10px 28px #3b332629;color:#403b35}.ws-tertiary>b{display:block;margin-bottom:10px}.shape-grid83{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.shape-grid83 button{min-height:64px;border:0;border-radius:10px;background:#f0e9dc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.shape-icon83{display:block;width:22px;height:18px;border:2px solid currentColor}.shape-icon83.circle{border-radius:50%}.shape-icon83.diamond{transform:rotate(45deg);width:16px;height:16px}.shape-icon83.heart{border:0}.shape-icon83.heart:before{content:'♡';font-size:27px}.shape-icon83.star{border:0}.shape-icon83.star:before{content:'☆';font-size:27px}.line-types83{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:15px}.line-types83 button{border:1px solid #ddd1c0;border-radius:10px;background:#fffaf2;padding:7px;display:flex;flex-direction:column;gap:4px}.line-types83 button.active{background:#e6ded0;border-color:#9b8f7d}.line-types83 i{font-style:normal;white-space:nowrap}.ws-tertiary label{display:block;font-size:13px;margin-top:12px}.ws-tertiary label strong{float:right}.ws-tertiary input[type=range]{width:100%;margin-top:9px}.color83{width:100%;height:48px;border:0;background:none}.ok83{width:100%;margin-top:8px;min-height:38px;border:0;border-radius:9px;background:#ded4c3}.ws-shapes83{position:absolute;left:0;top:0;width:1px;height:1px;overflow:visible;transform-origin:0 0;z-index:2;pointer-events:none}.graphic83{pointer-events:all;cursor:move}.graphic83 .bbox83{fill:none;stroke:#756b5e;stroke-width:1.5;stroke-dasharray:5 4}.handle83{fill:#fffaf0;stroke:#756b5e;stroke-width:2;cursor:nwse-resize}.ws-help .help-list{overflow:auto;padding:8px 10px}.ws-help details{border-bottom:1px solid #e1d7c8;padding:5px 0}.ws-help summary{display:flex;gap:9px;align-items:center;font-weight:650;padding:10px 4px;cursor:pointer}.ws-help summary span{width:26px;text-align:center}.ws-help p{margin:2px 8px 13px 39px;line-height:1.5;font-size:13px;color:#5d554a}.ws-colors button{width:25px!important;min-width:25px!important;height:25px!important;border-radius:50%!important}.ws-pen-kinds button[title="Resaltador"] svg,.ws-pen-kinds button[title="Goma"] svg{width:27px;height:27px}.ws-pop[data-menu="clip"]{min-width:160px}

/* ===== Planner V8.4 ===== */
.worksheet,.ws-canvas{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.rich-editor,.ws-card-title[contenteditable="true"],.worksheet input,.worksheet textarea,.worksheet [contenteditable="true"]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
.ws-pen-kinds button[title="Resaltador"] svg,.ws-pen-kinds button[title="Goma"] svg{width:28px;height:28px;stroke-width:1.8}
.ws-colors{display:flex;gap:7px;align-items:center;flex:0 0 auto}.ws-colors button{box-sizing:border-box!important;width:27px!important;height:27px!important;min-width:27px!important;max-width:24px!important;min-height:24px!important;max-height:24px!important;aspect-ratio:1/1!important;flex:0 0 24px!important;border-radius:50%!important;padding:0!important}
.ws-tertiary[data-tertiary="highlighter"]{width:285px}.hl-width84 strong{float:none!important;display:block;margin-bottom:5px;font-size:18px}.hl-width84 input{width:100%}
.ws-tertiary[data-tertiary="eraser"]{width:355px}.eraser-types84{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.eraser-types84 button{border:1px solid #ddd2c3;background:#fffaf2;border-radius:11px;min-height:92px;padding:8px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#4a443d}.eraser-types84 button.active{background:#e8dfd1;border-color:#a99b87}.eraser-types84 svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7}.eraser-types84 span{font-size:11px;line-height:1.2;text-align:center}.ws-tertiary[data-tertiary="eraser"]>small{display:block;margin-top:9px;color:#776e63;line-height:1.35}
.shape-grid83{grid-template-columns:repeat(4,44px)!important;gap:6px!important}.shape-grid83 button{width:44px!important;height:44px!important;min-height:44px!important;padding:0!important}.shape-icon83{margin:auto}.shape-icon83.rect{width:28px!important;height:15px!important}.ws-tertiary[data-tertiary="shapes"]{min-width:0!important;width:auto!important}.shape-icon83.heart:before,.shape-icon83.star:before{line-height:1}
.color83{width:100%;height:38px}.color-preview84{width:100%;height:42px;border:1px solid #d4c9b9;border-radius:9px;margin-top:8px}.ok83{width:100%}
.ws-palette83 svg,.group-del83 svg{width:16px!important;height:16px!important;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.group-del83{width:24px!important;height:24px!important;right:7px!important;top:6px!important;padding:0!important}
.shape-actions84 circle{fill:#fffaf0;stroke:#766c5f;stroke-width:1.5;pointer-events:all}.shape-actions84 .shape-trash881{fill:none;stroke:#62594e;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ws-card.branch-dim86{opacity:.28}.ws-link.branch-dim86{opacity:.18}.shape-actions84 path{fill:none;stroke:#62594e;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:all;cursor:pointer}
.ws-panel header{min-height:52px!important;margin-bottom:0!important}.ws-panel-controls{padding-top:4px!important;margin-top:0!important;grid-template-columns:minmax(140px,1fr) auto auto auto auto!important}.ws-level-control{gap:4px!important}.ws-level-control select{min-width:108px!important;max-width:126px!important}.ws-panel-action{padding:0 9px!important;white-space:nowrap}
.ws-help header.help-head84{position:relative;padding-right:42px!important}.ws-help header.help-head84>button{position:absolute!important;right:8px!important;top:7px!important;width:30px!important;height:30px!important;min-width:30px!important;border-radius:50%!important}.help-icon84{display:flex!important;align-items:center;justify-content:center;width:24px!important;height:24px!important;flex:0 0 24px}.help-icon84 svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(pointer:coarse){.eraser-types84 button{min-height:96px}.shape-grid83 button{width:46px!important;height:46px!important}.shape-grid83{grid-template-columns:repeat(4,46px)!important}}

/* ===== V8.4.4 consolidated UI corrections ===== */
.ws-penpanel{background:#fbf7ef!important;color:#403b35!important;border:1px solid #d8cebf!important;box-shadow:0 10px 28px #3b33261f!important}
.ws-penpanel button{color:#514a42!important}.ws-penpanel button.active{background:#e6ded0!important}.ws-penpanel>i{background:#d7cdbd!important}.ws-addcolor{color:#514a42!important;border-color:#b8ad9d!important}
.ws-colors button{width:24px!important;min-width:24px!important;height:24px!important;aspect-ratio:1/1!important;flex:0 0 24px!important;border-radius:50%!important;border:2px solid #fbf7ef!important;box-shadow:0 0 0 1px #b8ad9d!important}.ws-colors button.active{box-shadow:0 0 0 2px #756b5e!important}
.ws-tertiary>b,.ws-index.ws-help header>b{text-align:center;display:block;width:100%}.ws-tertiary{background:#fbf7ef!important}
.color-button844{display:block;width:100%!important;height:44px!important;padding:0!important;border:1px solid #cfc4b3!important;border-radius:8px!important;background:transparent!important;overflow:hidden}.color-button844::-webkit-color-swatch-wrapper{padding:0}.color-button844::-webkit-color-swatch{border:0;border-radius:7px}
.mm-control84{display:grid!important;grid-template-columns:1fr auto;gap:6px 12px;align-items:center}.mm-control84>strong{float:none!important}.mm-scale84{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center}.mm-scale84 input{margin:0!important}.mm-scale84 small{font-size:10px;color:#7a7063;white-space:nowrap}
.ws-pen-kinds button svg{transform:rotate(0deg);transform-origin:center}.ws-pen-kinds button[title="Lápiz"] svg,.ws-pen-kinds button[title="Resaltador"] svg,.ws-pen-kinds button[title="Goma"] svg{width:25px!important;height:25px!important}
.shape-grid83{grid-template-columns:repeat(4,44px)!important}.shape-grid83 button{display:grid!important;place-items:center!important}.shape-icon83{box-sizing:border-box!important;margin:0!important;position:relative}.shape-icon83.square{width:20px!important;height:20px!important}.shape-icon83.circle{width:21px!important;height:21px!important}.shape-icon83.rect{width:29px!important;height:16px!important}.shape-icon83.diamond{width:18px!important;height:18px!important}.shape-icon83.heart,.shape-icon83.star{width:24px!important;height:24px!important;display:grid!important;place-items:center!important}
.ws-group-title[contenteditable="true"]{outline:1px solid #a99d89;border-radius:5px;background:#fffaf0;padding:2px 4px;min-width:70px}
.ws-help header{position:relative}.ws-help header>b{padding:0 36px;box-sizing:border-box}
.image-actions844{position:absolute;right:4px;top:-34px;display:flex;gap:5px;z-index:5}.image-actions844 button{width:29px;height:29px;border:1px solid #d8cebe;border-radius:9px;background:#fffaf2;color:#514a42;display:grid;place-items:center;padding:0}.image-actions844 svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}
.crop844{position:absolute;border:2px solid #756b5e;box-shadow:0 0 0 9999px #fff8ee70;z-index:8;touch-action:none}.crop844>i{position:absolute;background:#fffaf0;border:2px solid #756b5e;width:14px;height:14px;border-radius:50%}.crop844>[data-edge="l"]{left:-8px;top:50%;transform:translateY(-50%)}.crop844>[data-edge="r"]{right:-8px;top:50%;transform:translateY(-50%)}.crop844>[data-edge="t"]{top:-8px;left:50%;transform:translateX(-50%)}.crop844>[data-edge="b"]{bottom:-8px;left:50%;transform:translateX(-50%)}.crop844>div{position:absolute;left:50%;bottom:-42px;transform:translateX(-50%);display:flex;gap:5px}.crop844 button{border:1px solid #d8cebe;background:#fffaf2;border-radius:8px;padding:6px 8px;white-space:nowrap}

/* V8.4.5 — reglas consolidadas y ampliaciones */
.ws-stroke-trigger{width:48px!important;min-width:48px!important;display:flex!important;align-items:center;justify-content:center}.ws-stroke-trigger span{display:block;width:22px!important;height:3px!important;background:currentColor;border-radius:99px}.shape-icon83{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;border:0!important;transform:none!important}.shape-icon83 svg{width:25px;height:25px;overflow:visible}.rich-editor{flex:0 1 auto!important;min-height:180px;max-height:52vh}.sheet-picker{position:relative;width:100%;height:100%;padding:28px 34px 30px;box-sizing:border-box;overflow:hidden;display:flex;flex-direction:column;gap:14px;background:var(--bg)}.sheet-picker-head{flex:0 0 auto;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;position:relative;z-index:4;min-width:0}.sheet-project-title{min-width:0;max-width:min(68vw,760px)}.sheet-picker-head h2{font-size:28px;margin:7px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sheet-back{border:0;background:transparent;color:var(--text);padding:7px 0;text-align:left}.new-sheet{flex:0 0 auto;margin:0;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:12px;padding:10px 14px}.sheet-map-wrap{position:relative;flex:1 1 auto;min-height:0;z-index:1}.sheet-map{position:absolute;inset:0;overflow:auto;border:1px solid var(--line);border-radius:18px;background:transparent;min-height:0;touch-action:pan-x pan-y}.sheet-map:after{content:"";display:block;width:1800px;height:1100px;pointer-events:none}.sheet-map-links{position:absolute;left:0;top:0;width:1800px;height:1100px;pointer-events:none;z-index:0}.sheet-map-links line{stroke:var(--muted);stroke-width:1.5;opacity:.45}.sheet-node{position:absolute;width:205px;min-height:96px;border:1px solid var(--line);background:var(--surface);border-radius:15px;box-shadow:var(--shadow);z-index:2;touch-action:none}.sheet-node.favorite{border-color:color-mix(in srgb,#b98b2f 55%,var(--line))}.sheet-node-head{height:28px;display:flex;justify-content:flex-end;gap:2px;padding:4px 5px 0}.sheet-star,.sheet-more{border:0;background:transparent;color:var(--text);font-size:17px}.sheet-open{width:100%;border:0;background:transparent;color:var(--text);text-align:left;padding:5px 13px 13px;display:flex;flex-direction:column;gap:4px}.sheet-open small{color:var(--muted)}.sheet-empty{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);color:var(--muted);font-size:13px;pointer-events:none;z-index:1}.project-task-toggle{position:absolute;left:34px;bottom:34px;z-index:5;width:44px;height:44px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text)}.project-task-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.project-task-panel{position:absolute;left:34px;top:96px;bottom:30px;width:40%;max-width:520px;z-index:6;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:22px;overflow:auto;transform:translateX(calc(-100% - 48px));opacity:0;visibility:hidden;pointer-events:none;transition:transform .18s ease,opacity .18s ease,visibility 0s linear .18s}.project-task-panel.open{transform:translateX(0);opacity:1;visibility:visible;pointer-events:auto;transition:transform .18s ease,opacity .18s ease}.project-task85{display:flex;gap:10px;padding:10px 2px;border-bottom:1px solid var(--line)}.project-task85 span{display:flex;flex-direction:column;gap:3px}.project-task85 small{color:var(--muted)}.sheet-menu{position:fixed;z-index:12;width:190px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:6px;display:flex;flex-direction:column}.sheet-menu button{border:0;background:transparent;color:var(--text);text-align:left;padding:9px;border-radius:8px}.sheet-menu button:hover{background:var(--soft)}body[data-view="freework-sheets"] .rail,body[data-view="freework-sheets"] .topbar,body[data-view="freework-sheets"] .weekstrip,body[data-view="freework-sheets"] #add{display:none}body[data-view="freework-sheets"] .shell{grid-template-columns:minmax(0,1fr)}body[data-view="freework-sheets"] .main{padding:0;min-width:0}body[data-view="freework-sheets"] .workspace{height:100%;min-height:0;padding:0;overflow:hidden;display:block}

/* V8.6 canonical additions: free objects, markers, pomodoro and radial sheets */
.ws-free845{position:absolute;box-sizing:border-box;pointer-events:auto;border:1px solid transparent}.ws-free845.selected{border-color:color-mix(in srgb,var(--text) 30%,transparent)}.ws-free845>div[contenteditable]{width:100%;height:100%;box-sizing:border-box;outline:0;padding:14px 8px 8px;overflow:auto;font-size:var(--free-size,16px);color:var(--free-color,var(--text))}.sticky845>div[contenteditable]{font-size:14px}.free-drag85{position:absolute!important;left:8px;top:4px!important;width:42px!important;height:7px!important;padding:0!important;border-radius:99px;background:color-mix(in srgb,var(--text) 18%,transparent);cursor:grab;z-index:3}.free-controls86{position:absolute;right:4px;top:-30px;display:none;gap:4px;height:auto!important;width:auto!important;padding:0!important;overflow:visible!important}.ws-free845.selected .free-controls86,.ws-free845:focus-within .free-controls86{display:flex}.free-controls86 button{min-width:26px;height:26px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);padding:4px}.free-controls86 svg{width:16px;height:16px;fill:none;stroke:currentColor}.note-check86{display:inline-flex;align-items:center;margin-right:4px}.multi-action85 button{min-width:104px;padding:8px 14px}.multi-action85 [data-cancel]{min-width:82px}.ws-index{overflow:hidden;display:flex;flex-direction:column}.ws-index header{flex:0 0 auto}.ws-index-results{flex:1 1 auto;min-height:0;overflow-y:auto!important;display:flex;flex-direction:column;padding:8px}.marker-row86{display:grid;grid-template-columns:1fr 34px;align-items:center}.marker-row86>[data-mid]{display:flex;align-items:center;gap:7px}.marker-row86 svg{width:19px;height:19px;fill:none;stroke:currentColor}.ws-marker86{position:absolute;transform:translate(-50%,-100%);width:30px;height:34px;border:0;background:transparent;color:#c94b43;z-index:30;touch-action:none;pointer-events:auto}.ws-marker86 svg{width:28px;height:32px;fill:none;stroke:currentColor;stroke-width:2}.marker-name86{position:fixed;left:50%;top:42%;transform:translate(-50%,-50%);z-index:150;width:min(330px,70vw);padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);box-shadow:var(--shadow);display:grid;gap:10px}.marker-name86 input{height:38px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);padding:0 10px}.marker-name86>div{display:flex;justify-content:flex-end;gap:7px}.view-list86{display:grid;gap:5px}.view-list86 label{display:flex!important;align-items:center;justify-content:flex-start;gap:7px;white-space:nowrap}.view-list86 label:last-child{justify-content:space-between}.pomodoro86{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:92;width:66px;height:66px}.pomo-main86{position:absolute;inset:0;border:0;border-radius:50%;background:var(--surface);color:var(--text);box-shadow:var(--shadow);display:grid;place-items:center}.pomo-ring86{position:absolute;inset:0;border-radius:50%;background:conic-gradient(var(--pomo-color,currentColor) var(--p,0deg),color-mix(in srgb,var(--pomo-color,currentColor) 10%,transparent) 0);mask:radial-gradient(circle,transparent 63%,#000 65%);opacity:.55}.pomo-count86{font-size:16px;line-height:1}.pomo-time86{display:none;font-size:10px}.pomo-main86 em{position:absolute;bottom:8px;display:flex;gap:3px}.pomo-dot86{width:3px;height:3px;border-radius:50%;background:var(--muted)}.pomo-dot86.done{background:var(--text)}.pomo-radial86{position:absolute;inset:-46px;pointer-events:none;display:none}.pomodoro86.open .pomo-radial86{display:block}.pomo-radial86 button{position:absolute;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--text);pointer-events:auto}.pomo-radial86 button:nth-child(1){left:6px;top:44px}.pomo-radial86 button:nth-child(2){left:44px;top:6px}.pomo-radial86 button:nth-child(3){right:6px;top:44px}.pomodoro86.compact{width:72px;height:38px}.pomodoro86.compact .pomo-main86{border-radius:12px;grid-template-columns:22px 1fr}.pomodoro86.compact .pomo-ring86,.pomodoro86.compact .pomo-main86 em{display:none}.pomodoro86.compact .pomo-time86{display:block}.pomo-settings86{position:fixed;left:50%;bottom:88px;transform:translateX(-50%);z-index:145;width:min(390px,82vw);background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:14px;display:grid;gap:8px}.pomo-settings86 label{display:flex;align-items:center;justify-content:space-between;gap:10px;white-space:nowrap;font-size:12px}.pomo-settings86>b{text-align:center}.pomo-settings86>[data-reset]{width:100%;box-sizing:border-box}.pomo-settings86 input[type=number]{width:64px}.sheet-map{background:color-mix(in srgb,var(--project-tint) 10%,var(--bg));}.sheet-node{min-height:82px}.sheet-open{padding-bottom:9px}.sheet-ring86{position:absolute;left:760px;top:450px;width:calc(var(--ring)*460px);height:calc(var(--ring)*460px);transform:translate(-50%,-50%);border:1px solid color-mix(in srgb,var(--text) 14%,transparent);border-radius:50%;pointer-events:none;z-index:0}.sheet-ring86:first-of-type{border-width:2px}.project-task-panel{left:auto;right:34px;width:32%;max-width:430px;transform:translateX(calc(100% + 48px))}.project-task-panel.open{transform:translateX(0)}.project-task-toggle{left:auto;right:34px}.project-task85{display:grid;grid-template-columns:1fr auto;gap:5px}.project-task85>label{display:flex;gap:8px}.task-meta86{display:flex;gap:3px}.task-meta86 button{border:0;background:transparent;color:var(--text)}.project-sub86{grid-column:1/-1;padding-left:24px;display:grid;gap:5px}.project-sub86[hidden]{display:none}
.ws-card-tools .ws-notebook{position:absolute;left:4px;top:4px}.ws-card-tools .ws-palette86{position:absolute;right:34px;top:4px}.ws-card-tools .ws-more81{position:absolute;right:4px;top:4px}.ws-card-tools .ws-child81{position:absolute;right:-14px;top:50%;transform:translateY(-50%)}.ws-linkednav86{position:absolute;right:3px;bottom:2px;border:0!important;background:transparent!important}.dual-host86{position:fixed;inset:0;pointer-events:none;z-index:72}.dual86{position:fixed!important;top:0!important;bottom:0!important;width:45vw!important;pointer-events:auto}.dual-left86{left:0!important;right:auto!important}.dual-right86{right:0!important;left:auto!important}
.organize-sep85{border:0;border-top:1px solid var(--line);width:100%;margin:5px 0}.multi-action85{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:130;display:flex;align-items:center;gap:8px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:14px;padding:9px 12px;box-shadow:var(--shadow)}.portal-panel85{position:fixed;right:18px;top:78px;bottom:18px;width:min(380px,44vw);z-index:140;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:14px;display:flex;flex-direction:column;gap:10px}.portal-panel85 header,.portal-panel85 footer{display:flex;justify-content:space-between;gap:8px}.portal-panel85 [data-list]{overflow:auto;flex:1}.portal-panel85 details button{display:block;width:100%;text-align:left;border:0;background:transparent;color:var(--text);padding:8px;border-radius:8px}.portal-panel85 details button.active{background:var(--soft)}.ws-help header b{white-space:nowrap}.ws-toolbar [data-advanced="view"] span,.ws-toolbar [data-advanced="study"] span,.ws-toolbar [data-advanced="organize"] span{font-size:12px;line-height:1}.ws-toolbar [data-advanced="text"] svg,.ws-toolbar [data-advanced="note"] svg,.ws-toolbar [data-advanced="marker"] svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.editor-history844{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:0 0 2px}.editor-history844 .history-right{display:flex;gap:6px}.editor-history844 button{width:32px;height:32px;padding:5px;border:1px solid var(--line);background:var(--surface);border-radius:9px;color:var(--text)}.editor-history844 svg{width:19px;height:19px}.ws-knowledge{padding-top:2px!important}.global-results{position:absolute;z-index:80;right:20px;top:66px;width:min(460px,70vw);max-height:50vh;overflow:auto;background:#fffaf3;border:1px solid #d8cebe;border-radius:12px;box-shadow:0 12px 30px #3b332626;padding:6px}.global-results button{display:flex;flex-direction:column;width:100%;border:0;background:transparent;text-align:left;padding:9px}.ws-free845{position:absolute;box-sizing:border-box;pointer-events:auto;border:1px solid transparent}.ws-free845>div{width:100%;height:100%;box-sizing:border-box;outline:0;padding:8px;overflow:auto}.ws-free845>button{position:absolute;top:-24px;width:22px;height:22px;border:1px solid #d4c9b9;border-radius:50%;background:#fffaf3;display:none}.ws-free845:hover>button,.ws-free845:focus-within>button{display:block}.ws-free845 [data-fa="dup"]{right:25px}.ws-free845 [data-fa="del"]{right:0}.sticky845{background:#f5e8b8;border-color:#e0d19b;border-radius:7px;box-shadow:0 4px 10px #554b3515}.text845{background:transparent}.compare845{position:fixed;inset:8% 5%;z-index:120;background:#fbf7ef;border:1px solid #d8cebe;border-radius:16px;box-shadow:0 18px 45px #352e2333;padding:14px}.compare845 header{display:flex;justify-content:space-between}.compare845>div{display:flex;overflow-x:auto;height:calc(100% - 42px);gap:10px}.compare845 section{min-width:300px;flex:1;overflow:auto;border-left:1px solid #e0d6c7;padding:12px}.dim845{opacity:.14!important}.isolate845 #wsLinks{opacity:.3}#exitIsolate845{position:fixed;right:18px;bottom:68px;z-index:90;border:1px solid #d5cabb;background:#fffaf3;border-radius:12px;padding:9px 13px}.oral845{position:fixed;inset:0;z-index:150;background:#fbf7ef;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10vw}.oral845 h2{font-size:36px}.oral-note{max-width:760px;max-height:50vh;overflow:auto}.oral845 footer{display:flex;gap:8px;margin-top:20px}.oral845 button{border:1px solid #d8cebe;background:#fffaf3;border-radius:10px;padding:9px 13px}


/* V8.7 — Hoja de trabajo consolidada */
.ws-card-tools{display:none;position:absolute;left:0;top:0;right:0;bottom:0;transform:none;z-index:20;pointer-events:none!important}
.ws-card.selected .ws-card-tools{display:block!important}
.ws-card-tools button{display:grid!important;place-items:center;position:absolute!important;pointer-events:auto!important;width:27px!important;height:27px!important;min-width:27px!important;border-radius:50%!important;background:var(--surface,#fffaf3)!important;border:1px solid var(--line,#d8cebe)!important;box-shadow:0 2px 7px #4c43321f!important;color:var(--text,#4c463f)!important;padding:3px!important}.ws-card-tools button svg{width:17px!important;height:17px!important}
.ws-card-tools .ws-notebook{left:0!important;top:-31px!important;right:auto!important}
.ws-card-tools .ws-palette86{left:31px!important;top:-31px!important;right:auto!important}
.ws-card-tools .ws-more81{left:62px!important;top:-31px!important;right:auto!important;font-size:12px!important}
.ws-card-tools .ws-child81{right:-31px!important;top:50%!important;left:auto!important;transform:translateY(-50%)!important}
.ws-card-tools .ws-linkednav86{left:0!important;bottom:-30px!important;top:auto!important;right:auto!important;width:27px!important;height:27px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.ws-card-title{min-height:28px;display:flex;align-items:center;cursor:text}
.ws-links{display:block;z-index:1!important;visibility:visible}.ws-link{visibility:visible;opacity:1}
/* Índice: búsqueda nuevamente en el mismo renglón que el título. */
.ws-index header{display:grid!important;grid-template-columns:auto minmax(90px,1fr) 32px!important;grid-template-rows:32px!important;align-items:center!important;gap:8px!important}
.ws-index header>b{grid-column:1!important;grid-row:1!important;text-align:left!important;white-space:nowrap!important}
.ws-index header>input{grid-column:2!important;grid-row:1!important;min-width:0!important;width:100%!important}
.ws-index header>.index-close86{grid-column:3!important;grid-row:1!important;width:30px!important;height:30px!important;min-width:30px!important;padding:0!important;border-radius:9px!important;align-self:center!important;justify-self:end!important}
.marker-index86 header{grid-template-columns:1fr 32px!important}.marker-index86 header>b{grid-column:1!important;text-align:left!important}
/* Cómo funciona: título centrado independientemente de la X; X en el mismo renglón. */
.ws-help header{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;height:36px!important;padding:10px 38px!important;box-sizing:content-box!important}
.ws-help header>b{position:static!important;text-align:center!important;white-space:nowrap!important;padding:0!important;font-size:14px!important;font-weight:600!important}
.ws-help header>.index-close86{position:absolute!important;right:10px!important;top:11px!important;width:30px!important;height:30px!important}
.ws-help .help-list{padding:8px!important;gap:0!important}
.ws-help details{padding:2px 0!important;margin:0!important}
.ws-help summary{display:flex!important;align-items:center!important;gap:8px!important;padding:6px 4px!important;min-height:30px!important;font-size:13px!important;font-weight:500!important;line-height:1.15!important;white-space:nowrap!important}
.ws-help summary>span:last-child{width:auto!important;min-width:0!important;flex:1 1 auto!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ws-help .help-icon86,.ws-help .help-icon84{width:22px!important;min-width:22px!important;height:22px!important;display:inline-grid!important;place-items:center!important;flex:0 0 22px!important}
.ws-help .help-icon86 svg,.ws-help .help-icon84 svg{width:19px!important;height:19px!important}
.ws-help details:nth-of-type(6) summary svg{width:16px!important;height:16px!important}.ws-help details:nth-of-type(6) summary svg path{vector-effect:non-scaling-stroke}
.ws-help details:nth-of-type(7) summary svg{width:25px!important;height:25px!important}
.ws-help p{margin:2px 8px 9px 34px!important;font-size:12.5px!important;line-height:1.4!important}
/* Vista: control y nombre siempre en el mismo renglón. */
.view-list86 label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-height:30px!important;white-space:nowrap!important}.view-list86 label input{margin:0!important;flex:0 0 auto}.view-list86 label span{display:inline!important}.view-list86 .view-level86{justify-content:space-between!important}.ws-toolbar [data-advanced="view"] span{font-size:12px!important;line-height:1!important;font-weight:500!important}
/* Comparar: cierre legible y táctil. */
.compare845 header{align-items:center}.compare-close87{width:34px!important;height:34px!important;min-width:34px!important;border:1px solid var(--line,#d8cebe)!important;border-radius:9px!important;background:var(--surface,#fffaf3)!important;color:var(--text,#4c463f)!important;font-size:22px!important;line-height:1!important;padding:0!important}
/* Texto y Nota siempre por encima de conexiones y con edición táctil. */
.ws-free845{z-index:9;pointer-events:auto!important}.ws-free845 .free-editor88{font-size:var(--free-size);color:var(--free-color);pointer-events:auto!important;-webkit-user-select:none;user-select:none}.ws-free845 .free-editor88[contenteditable="true"]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}.sticky845 .free-editor88{font-size:13px}.free-controls86{display:none;position:absolute;right:0;top:-27px;gap:4px}.ws-free845.selected .free-controls86{display:flex}.free-controls86 button{width:23px;height:23px;min-width:23px;padding:3px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--text)}.free-controls86 button svg{width:14px;height:14px}.free-drag85{position:absolute!important;inset:0!important;padding:0!important;cursor:grab;z-index:0}.free-editor88{position:relative;z-index:1}.free-menu88>b{display:block;text-align:center}.free-size-row88{display:flex;align-items:center;gap:8px}.free-size-row88 span{font-size:11px;min-width:20px;text-align:right}
/* Pomodoro: asegurar interacción sobre el lienzo. */
.pomodoro86,.pomodoro86 *{pointer-events:auto}.pomodoro86{z-index:120!important}.pomo-main86{cursor:pointer}.pomo-radial86{z-index:2}


/* V8.7 marker icon consistency */
.marker-index86 .marker-row86 [data-mid] svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.marker-index86 .marker-row86 [data-mid]{min-height:34px!important;gap:7px!important}
.ws-marker86 svg{fill:none!important;stroke:currentColor!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* V8.8 canonical presentation rules */
.ws-pop{gap:5px}.ws-pop button{line-height:1.15}.shape-actions84 circle{r:10px}.ws-searchbox>div{padding-top:8px}.ws-searchbox>div button{margin-top:5px;padding-block:10px}.image-actions844 button{width:24px;height:24px;display:grid;place-items:center}.image-actions844 svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}

.pomo-radial86 button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pomodoro86.compact .pomo-main86{display:flex;flex-direction:column;justify-content:center;gap:1px}.pomodoro86.compact .pomo-count86{line-height:1}.pomodoro86.compact .pomo-time86{line-height:1}.ws-panel.dual86{margin:0!important}
/* V9.1 — controles visuales de Formas. La lógica de duplicar/eliminar permanece intacta. */
.shape-actions84 .shape-plus91{fill:none;stroke:#62594e;stroke-width:1.7;stroke-linecap:round;pointer-events:all;cursor:pointer}
.shape-actions84 circle{stroke-width:1.35}
/* V9.2 — Tarjetas. Escribir queda bloqueado y no se modifica. */
.ws-card-tools .ws-child81{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;font-size:0!important;line-height:30px!important;font-weight:500!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}.ws-card-tools .ws-child81::before{content:'+';display:block;font-size:21px;line-height:1;transform:translateY(-1px)}
.ws-card-tools .ws-linkednav86{white-space:nowrap!important;display:grid!important;place-items:center!important;line-height:1!important}
.ws-card-tools .ws-linkednav86 svg{display:block!important;width:22px!important;height:22px!important;overflow:visible!important;fill:none!important;stroke:#514b43!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.worksheet-task-modal85{z-index:10060!important}
#cardTitleInput92{-webkit-user-select:text!important;user-select:text!important;-webkit-touch-callout:default!important}
.editor-history844 .history-left{display:flex;align-items:center;gap:6px}
.editor-history844 [data-gocard]{width:auto!important;min-width:104px!important;padding:5px 9px!important;font-size:12px!important;white-space:nowrap}
.editor-image-viewport92{display:block;position:relative;width:100%;height:min(280px,34vh);overflow:hidden;border-radius:10px;background:#eee8dc;touch-action:none;margin:7px 0}
.editor-image-viewport92 img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain;transform-origin:center center;will-change:transform;touch-action:none}

.worksheet #taskEditor button,.worksheet .task-editor button,.worksheet-task-modal85 button{padding:8px 12px!important;min-height:36px!important;font-size:14px!important;line-height:1.2!important}
.editor-image-viewport925{display:inline-block;position:relative;overflow:hidden;max-width:100%;min-width:120px;min-height:80px;touch-action:none;vertical-align:top}
.editor-image-viewport925 img{display:block;max-width:100%;transform-origin:center;will-change:transform;user-select:none;-webkit-user-select:none}
.editor-after-media925{display:inline;min-width:1px}.go-card925{margin-left:8px}
