.home-workspace{font:inherit;min-width:0}.hw-toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:16px 0}.home-workspace button{font:inherit;font-size:12px;min-height:40px;cursor:pointer;border:1px solid hsl(var(--border));border-radius:12px;background:hsl(var(--card));color:hsl(var(--foreground));padding:9px 12px}.home-workspace button:disabled{opacity:.4;cursor:default}.home-workspace button:focus-visible,.home-workspace input:focus-visible,.home-workspace select:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:3px}.home-workspace .hw-primary{background:#86648c;color:white;border-color:#86648c;font-weight:650}.hw-customize{font-weight:650!important}.hw-editing .hw-toolbar{position:sticky;top:0;z-index:52;display:block;background:hsl(var(--background)/.96);backdrop-filter:blur(14px);margin:0 -8px 12px;padding:12px 8px;border-bottom:1px solid hsl(var(--border));border-radius:0 0 14px 14px}.hw-edit-title{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.hw-edit-title strong{font-size:14px}.hw-edit-title small{font-size:11px;color:hsl(var(--muted-foreground))}.hw-toolbar-actions{display:flex;gap:6px;flex-wrap:wrap}.hw-toolbar-actions button{flex:1;padding:8px;font-size:11px;white-space:nowrap}.hw-pages{display:flex;gap:6px;align-items:center;margin:12px 0 16px}.hw-pages nav{display:flex;gap:7px;overflow-x:auto;flex:1;min-width:0;padding:3px}.hw-pages nav button{white-space:nowrap;flex-shrink:0;border-radius:99px}.hw-pages button[aria-selected=true]{background:#eee6f1;border-color:#bda8c4;color:#694f71;font-weight:650}.hw-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.hw-tile{position:relative;min-width:0;box-sizing:border-box;border-radius:22px}.hw-tile-body{height:100%;min-width:0;overflow:auto;border-radius:22px;scrollbar-width:thin}.hw-tile-body>.hi-card{height:100%;min-height:100%;box-sizing:border-box;grid-column:auto;overflow:auto}.hw-tile-body>.emilly-quick-actions{margin:0;min-height:100%;box-sizing:border-box}.hw-editing .hw-tile{border:1px dashed #b9a4c1;border-radius:18px;background:hsl(var(--card))}.hw-editing .hw-tile-body{height:calc(100% - 48px);pointer-events:none;user-select:none;border-radius:0 0 18px 18px;opacity:.82}.hw-tile-tools{height:48px;display:flex;align-items:center;gap:6px;padding:3px 5px;min-width:0}.hw-tile-tools>span{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:650}.hw-tile-tools button{padding:0;width:34px;min-height:34px;border:0;background:transparent;font-size:23px;flex-shrink:0}.hw-tile-tools .hw-drag{touch-action:none;cursor:grab;font-size:25px}.hw-active-gesture{outline:2px solid #95749e;box-shadow:0 8px 25px #60466c24}.hw-drag-label{position:fixed;z-index:160;max-width:190px;border-radius:12px;padding:10px 14px;background:#785a81;color:white;font-size:12px;font-weight:600;pointer-events:none;box-shadow:0 8px 26px #26172e35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-workspace .hw-resize{position:absolute;bottom:3px;right:3px;border-radius:12px 2px 15px 2px;width:34px;min-height:34px;padding:0;font-size:20px;background:#eee4f3;color:#76597e;touch-action:none;cursor:nwse-resize;z-index:2;box-shadow:0 2px 8px #68427717}.hw-extra,.hw-module{width:100%;height:100%;display:flex!important;align-items:center;justify-content:center;gap:9px;text-decoration:none;border:1px solid hsl(var(--border));border-radius:22px;background:hsl(var(--card));padding:16px;box-sizing:border-box}.hw-extra{font-weight:600!important;color:hsl(var(--muted-foreground))!important}.hw-module{flex-direction:column;text-align:center}.hw-module>span{font-size:28px}.hw-module strong{font-size:14px;line-height:1.4}.hw-module small{font-size:11px;color:hsl(var(--muted-foreground))}.hw-placeholder{font-size:12px;color:hsl(var(--muted-foreground));border:1px solid hsl(var(--border));border-radius:22px;padding:20px;height:100%;box-sizing:border-box}.hw-empty{border:1px dashed #bea7c6;border-radius:24px;padding:32px 20px;text-align:center;color:hsl(var(--muted-foreground))}.hw-empty>span{font-size:28px;color:#9976a2}.hw-empty h3{font-size:17px;color:hsl(var(--foreground));margin:10px 0 5px}.hw-empty p{font-size:12px;line-height:1.7;margin-bottom:16px}.hw-help{font-size:12px;color:hsl(var(--muted-foreground));line-height:1.7;margin:12px 0}.hw-notice,.hw-conflict{font-size:12px;line-height:1.6;border-radius:14px;padding:12px;background:#f2edf5;margin:12px 0}.hw-conflict{background:#fbf0e3}.hw-conflict button{margin:8px 8px 0 0}.hw-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hw-backdrop{position:fixed;inset:0;background:rgba(33,23,39,.45);backdrop-filter:blur(4px);z-index:180;display:flex;align-items:flex-end;justify-content:center;padding-top:25px}.hw-sheet{width:100%;max-width:600px;max-height:90dvh;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;background:hsl(var(--card));border-radius:28px 28px 0 0;padding:18px 20px max(30px,env(safe-area-inset-bottom));box-shadow:0 -10px 50px #24122e20}.hw-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;position:sticky;top:-18px;background:hsl(var(--card));padding:10px 0;z-index:2}.hw-sheet h2{font-size:18px;font-weight:700}.hw-sheet h3{font-size:13px;font-weight:650;margin:20px 0 10px}.hw-sheet>header button{border-radius:50%;font-size:24px;width:40px;height:40px;padding:0}.hw-sheet>button,.hw-sheet form>button{margin:10px 6px 8px 0}.hw-field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;margin:14px 0}.hw-field input:not([type=range]),.hw-field select{width:100%;box-sizing:border-box;min-width:0;border:1px solid hsl(var(--border));border-radius:12px;padding:12px;font-size:16px;background:hsl(var(--background));color:hsl(var(--foreground))}.hw-field input[type=range]{accent-color:#8d6b96;width:100%;min-height:36px;touch-action:pan-x}.hw-row,.hw-size-options{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.hw-size-options button[aria-pressed=true],.hw-sheet>button[aria-pressed=true]{border-color:#9c7ba6;background:#f1e9f4;color:#795881}.hw-danger{color:#aa5864!important;border-color:#e8ced3!important}.hw-confirm{background:#fcf0f2;border-radius:16px;padding:12px;font-size:12px}.hw-confirm button{margin-top:10px}.hw-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hw-catalog button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:7px;min-width:0;line-height:1.4;padding:12px}.hw-catalog button>span:first-child{font-size:23px}.hw-catalog small{font-size:10px;color:#8a6b93}.hw-module-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hw-module-list button{display:flex;align-items:center;gap:9px;text-align:left;line-height:1.4}.hw-module-list button>span{font-size:22px;flex-shrink:0}.hw-sheet .emilly-home-more{margin:0}.hw-sheet .hi-grid{display:grid}.dark .hw-pages button[aria-selected=true],.dark .hw-notice{background:#3c2f43;color:#dfcbe5}.dark .hw-sheet button[aria-pressed=true]{background:#43324c;color:#ead6f1}.dark .hw-conflict{background:#40301e}.dark .hw-resize{background:#5d4668;color:#ead6f1}.dark .hw-confirm{background:#422d34}@media(min-width:700px){.hw-backdrop{align-items:center;padding:30px}.hw-sheet{border-radius:28px;max-height:85dvh}}@media(max-width:359px){.hw-toolbar button{font-size:11px;padding:8px}.hw-tile-tools>span{font-size:10px}.hw-tile-tools button{width:28px}.hw-sheet{padding-left:14px;padding-right:14px}.hw-grid{gap:9px}}@media(prefers-reduced-motion:reduce){.home-workspace *{scroll-behavior:auto!important;transition:none!important}}
