:root{color-scheme:light;font-family:Helvetica Neue,Helvetica,游ゴシック体,YuGothic,Yu Gothic,sans-serif;background:#fff;color:#161616;--bg: #ffffff;--surface: #ffffff;--surface-soft: #ffffff;--text: #161616;--muted: #77736b;--border: #dfdcd4;--strong-border: #aaa59b;--button: #161616;--button-text: #fffefa;--radius: 8px;--shadow: none}:root[data-theme=dark]{color-scheme:dark;background:#171714;color:#f3f1eb;--bg: #171714;--surface: #1d1d1a;--surface-soft: #20201c;--text: #f3f1eb;--muted: #aaa69c;--border: #37362f;--strong-border: #5c594e;--button: #f3f1eb;--button-text: #171714;--radius: 8px;--shadow: none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{width:min(1120px,calc(100% - 96px));margin:0 auto;padding:124px 0 72px}.site-header{position:fixed;z-index:10;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:64px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--bg) 96%,transparent);padding:0 48px}h1{margin:0;color:var(--text);font-family:Helvetica Neue,Helvetica,游ゴシック体,YuGothic,Yu Gothic,sans-serif;font-size:1rem;font-weight:600;line-height:1;letter-spacing:0}.brand-link{border:0;background:transparent;color:var(--text);padding:0;font-family:Helvetica Neue,Helvetica,游ゴシック体,YuGothic,Yu Gothic,sans-serif;font-size:1rem;font-weight:600;line-height:1;letter-spacing:0}.top-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap;justify-content:flex-end}.nav-button,.theme-switch,.text-button{min-height:36px;border:0;border-bottom:1px solid transparent;border-radius:0;background:transparent;color:var(--muted);padding:0 0 4px}.primary-button{min-height:40px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);padding:0 14px}.nav-button,.theme-switch,.text-button,.primary-button,.secondary-button,.reset-button,.load-more-button{white-space:nowrap}.secondary-button,.reset-button{min-height:42px;border:1px solid var(--border);border-radius:var(--radius);background:transparent;color:var(--text);padding:0 14px}.nav-button.is-active,.theme-switch[aria-pressed=true]{border-bottom-color:var(--text);color:var(--text)}.primary-button{border-color:var(--button);background:var(--button);color:var(--button-text)}.home-shell{min-height:100vh;background:var(--bg)}.home-layout{width:min(960px,calc(100% - 96px));margin:0 auto;padding:148px 0 72px}.home-kicker{margin:0 0 48px;color:var(--text);font-size:clamp(1.7rem,4vw,3.6rem);font-weight:400;line-height:1.15;letter-spacing:0}.home-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-card{display:grid;gap:30px;min-height:220px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);padding:28px;text-align:left}.home-card:hover{border-color:var(--strong-border)}.home-card-title{font-size:1.1rem;font-weight:500}.home-card-description{align-self:end;color:var(--muted);font-size:.94rem;line-height:1.8}.checker-layout{display:grid;grid-template-columns:minmax(0,430px) minmax(0,1fr);gap:28px;align-items:start}.control-column{display:grid;gap:14px}.selector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.panel,.preview-card,.local-font-box{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.panel{padding:18px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;color:var(--text);font-size:.9rem}.text-button{min-height:32px;padding:0;color:var(--muted);white-space:nowrap;background:transparent}select,input,textarea{width:100%;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-soft);color:var(--text);padding:11px 12px;outline:none}select:focus,input:focus,textarea:focus{border-color:var(--strong-border)}.selector-panel{display:grid;gap:10px}.segmented-control{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.segmented-control button{min-height:36px;border:0;background:transparent;color:var(--muted)}.segmented-control button.is-active{background:color-mix(in srgb,var(--text) 8%,transparent);color:var(--text)}textarea{resize:vertical;line-height:1.65}.counter,.preview-meta,.status-message,.font-card-meta{color:var(--muted);font-size:.82rem}.weight-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.weight-group{display:grid;gap:12px}.weight-group+.weight-group{border-left:1px solid var(--border);padding-left:16px}.weight-group p{margin:0;color:var(--text);font-size:.88rem}.range-row{display:grid;gap:7px}.range-row span{display:flex;justify-content:space-between;color:var(--muted)}.range-row strong{color:var(--text);font-weight:500}.range-row input[type=range]{appearance:none;height:18px;border:0;background:transparent;padding:0}.range-row input[type=range]::-webkit-slider-runnable-track{height:2px;border-radius:999px;background:var(--border)}.range-row input[type=range]::-webkit-slider-thumb{appearance:none;width:11px;height:11px;margin-top:-4.5px;border:1px solid var(--text);border-radius:50%;background:var(--surface)}.range-row input[type=range]::-moz-range-track{height:2px;border-radius:999px;background:var(--border)}.range-row input[type=range]::-moz-range-thumb{width:11px;height:11px;border:1px solid var(--text);border-radius:50%;background:var(--surface)}.preview-card{min-height:460px;padding:clamp(24px,3.4vw,38px);position:sticky;top:24px;max-height:calc(100vh - 48px);overflow:auto}.preview-meta{margin:0 0 28px}.preview-card h2{margin:0 0 24px;color:var(--text);font-size:clamp(1.55rem,3.2vw,2.8rem);line-height:1.22;letter-spacing:0;overflow-wrap:anywhere}.preview-body{margin:0;color:var(--text);font-size:clamp(.95rem,1.25vw,1.08rem);line-height:1.9;overflow-wrap:anywhere}.library-layout{display:grid;gap:16px}.library-note{margin:0;color:var(--muted);font-size:.86rem;line-height:1.8}.local-font-box{display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px 22px;padding:20px}.local-font-box h2{margin:0 0 8px;font-size:1.1rem;font-weight:400;letter-spacing:0}.local-font-box p{margin:0;color:var(--muted);line-height:1.7}.local-font-box .inline-status{margin-top:10px;font-size:.82rem}.status-message{grid-column:1 / -1}.status-message.error{color:#b3463e}.status-message.success{color:#54763d}.library-controls{display:grid;grid-template-columns:minmax(0,1fr) 158px 158px 120px 128px;gap:12px}.font-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.load-more-button{min-height:46px;border:1px solid var(--border);border-radius:var(--radius);background:transparent;color:var(--text)}.empty-state{margin:0;border:1px solid var(--border);border-radius:var(--radius);color:var(--muted);padding:22px}.reset-button{justify-self:start;color:var(--muted)}.font-card{display:grid;gap:18px;min-height:168px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);padding:18px;text-align:left;box-shadow:var(--shadow)}.font-card:hover{border-color:var(--strong-border)}.font-card:disabled{cursor:not-allowed}.font-card.is-unavailable{opacity:.48}.font-card-name{font-size:.9rem;color:var(--muted);overflow-wrap:anywhere;min-height:1.4em}.font-card-sample{font-size:clamp(1.45rem,3vw,2.1rem);line-height:1.2;overflow-wrap:anywhere;min-height:2.4em}.font-card-meta{display:flex;gap:10px;flex-wrap:wrap;align-self:end}.font-card-meta span{border-right:1px solid var(--border);padding-right:10px}.font-card-meta span:last-child{border-right:0;padding-right:0}.font-card-confirmed{color:var(--muted);font-size:.76rem;overflow-wrap:anywhere;min-height:1.35em}@media(max-width:900px){.checker-layout,.local-font-box,.selector-grid,.library-controls,.font-grid{grid-template-columns:1fr}.preview-card{min-height:460px;position:static;max-height:none;overflow:visible}.weight-panel{grid-template-columns:1fr}.weight-group+.weight-group{border-left:0;border-top:1px solid var(--border);padding-left:0;padding-top:18px}.home-card-grid{grid-template-columns:1fr}}@media(max-width:560px){.home-layout{width:min(100% - 28px,960px);padding-top:112px}.home-kicker{margin-bottom:28px}.home-card{min-height:170px;padding:22px}.app-shell{width:min(100% - 28px,1180px);padding-top:96px}.site-header{min-height:72px;align-items:flex-start;padding:22px 14px 0}.top-actions{gap:16px;justify-content:flex-end}.nav-button,.theme-switch{padding:0 8px}.preview-card{padding:22px}.preview-meta{margin-bottom:32px}}.d002-app-shell{color-scheme:light;--bg: #fafaf8;--surface: rgba(255, 255, 255, .58);--text: #111111;--muted: #666666;--soft-muted: #8a8a84;--border: rgba(0, 0, 0, .12);--border-strong: rgba(0, 0, 0, .24);--hover: rgba(0, 0, 0, .04);--radius: 8px;font-family:Yu Gothic,游ゴシック体,YuGothic,Hiragino Sans,Hiragino Kaku Gothic ProN,system-ui,sans-serif;background:var(--bg);color:var(--text);font-synthesis:none;text-rendering:optimizeLegibility}:root[data-theme=dark] .d002-app-shell{color-scheme:dark;--bg: #151511;--surface: rgba(29, 29, 25, .72);--text: #f4f1ea;--muted: #aaa59a;--soft-muted: #8f897e;--border: rgba(255, 255, 255, .16);--border-strong: rgba(255, 255, 255, .34);--hover: rgba(255, 255, 255, .08)}.d002-app-shell *{box-sizing:border-box}.d002-app-shell{background:var(--bg)}.d002-app-shell{min-width:1180px;min-height:100vh;margin:0;background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 70%,transparent),#fafaf800 280px),var(--bg);font-weight:300}.d002-app-shell button,.d002-app-shell input,.d002-app-shell select{font:inherit}.d002-app-shell button{cursor:pointer}.d002-app-shell button,.d002-app-shell input,.d002-app-shell select{-webkit-tap-highlight-color:transparent}.d002-app-shell .app-shell{min-height:100vh;background:transparent}.d002-app-shell .app-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;height:80px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--bg) 90%,transparent);padding:0 56px}.d002-app-shell .brand-title{padding:0;color:var(--text);font-size:16px;font-weight:400;line-height:1}.d002-app-shell .header-actions{display:grid;align-items:center;justify-content:flex-end;gap:8px}.d002-app-shell .top-actions{display:flex;align-items:center;justify-content:flex-end;gap:31px}.d002-app-shell .nav-button,.d002-app-shell .theme-switch{position:relative;border:0;background:transparent;color:var(--muted);padding:8px 0 12px;font-size:16px;font-weight:500;line-height:1;white-space:nowrap}.d002-app-shell .nav-button.is-active,.d002-app-shell .theme-switch{color:var(--text)}.d002-app-shell .nav-button.is-active:after,.d002-app-shell .theme-switch:after{position:absolute;right:0;bottom:0;left:0;height:1px;background:currentColor;content:""}.d002-app-shell .preview-utilities{display:flex;align-items:center;justify-content:flex-end;gap:14px}.d002-app-shell .utility-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:30px;border:1px solid transparent;border-radius:var(--radius);background:transparent;color:var(--text);padding:0 7px;font-size:12px;font-weight:400;white-space:nowrap;transition:background-color .16s ease,color .16s ease,border-color .16s ease}.d002-app-shell .utility-button:hover{background:var(--hover)}.d002-app-shell .utility-button.is-active{border-color:var(--text);background:var(--text);color:#fff}.d002-app-shell .utility-button svg{width:17px;height:17px;flex:0 0 auto}.d002-app-shell .utility-button .chevron-icon{width:15px;height:15px}.d002-app-shell .action-divider{width:1px;height:22px;background:var(--border)}.d002-app-shell .workspace{display:grid;grid-template-columns:386px minmax(794px,1fr);min-height:calc(100vh - 80px)}.d002-app-shell .sidebar{border-right:1px solid var(--border);padding:26px 24px 36px 33px;overflow-y:auto;background:#fafaf8a3}.d002-app-shell .control-group{margin-bottom:20px}.d002-app-shell .mobile-section,.d002-app-shell .mobile-section-body{display:contents}.d002-app-shell .mobile-section summary{display:none}.d002-app-shell .control-label-row,.d002-app-shell .font-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:18px;margin-bottom:9px}.d002-app-shell .control-label,.d002-app-shell .font-list-heading{color:#222;font-size:11px;font-weight:500;line-height:1;text-transform:uppercase}.d002-app-shell .control-value{color:var(--text);font-size:13px;line-height:1}.d002-app-shell .text-input,.d002-app-shell select,.d002-app-shell .color-input{width:100%;min-height:40px;border:1px solid var(--border);border-radius:5px;background:#ffffff80;color:var(--text);outline:none}.d002-app-shell .text-input,.d002-app-shell select{padding:0 14px;font-size:15px}.d002-app-shell .text-input:focus,.d002-app-shell select:focus,.d002-app-shell .color-input:focus-within{border-color:var(--border-strong)}.d002-app-shell select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 18px) 17px,calc(100% - 13px) 17px;background-size:5px 5px,5px 5px;background-repeat:no-repeat}.d002-app-shell .segmented-control{display:flex;width:100%;min-height:36px;overflow:hidden;border:1px solid var(--border);border-radius:5px;background:#ffffff70}.d002-app-shell .segmented-control button{flex:1 1 0;min-width:0;border:0;border-right:1px solid var(--border);background:transparent;color:var(--text);padding:0 10px;font-size:13px;line-height:1;transition:background-color .16s ease,color .16s ease}.d002-app-shell .segmented-control button:last-child{border-right:0}.d002-app-shell .segmented-control button:hover{background:var(--hover)}.d002-app-shell .segmented-control button.is-selected{background:var(--text);color:#fff}.d002-app-shell .range-input{appearance:none;width:100%;height:20px;padding:0;border:0;background:transparent}.d002-app-shell .range-input::-webkit-slider-runnable-track{height:2px;border-radius:999px;background:var(--border)}.d002-app-shell .range-input::-webkit-slider-thumb{appearance:none;width:14px;height:14px;margin-top:-6px;border:0;border-radius:50%;background:var(--text)}.d002-app-shell .range-input::-moz-range-track{height:2px;border-radius:999px;background:var(--border)}.d002-app-shell .range-input::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:var(--text)}.d002-app-shell .color-input{display:flex;align-items:center;gap:12px;padding:0 10px 0 6px}.d002-app-shell .color-input input{width:26px;height:26px;flex:0 0 auto;border:1px solid var(--border);border-radius:3px;background:transparent;padding:0}.d002-app-shell .color-input input::-webkit-color-swatch-wrapper{padding:2px}.d002-app-shell .color-input input::-webkit-color-swatch{border:0;border-radius:2px}.d002-app-shell .color-input span{flex:1 1 auto;color:var(--text);font-size:13px}.d002-app-shell .color-input svg{width:15px;height:15px}.d002-app-shell .font-list-editor{margin-top:4px;padding-top:15px;border-top:1px solid var(--border)}.d002-app-shell .font-list-heading{margin-bottom:8px}.d002-app-shell .font-add-row{display:grid;grid-template-columns:minmax(0,1fr) 52px 48px;align-items:center;gap:6px;margin-bottom:8px}.d002-app-shell .font-add-row input{width:100%;min-width:0;height:32px;border:1px solid var(--border);border-radius:4px;background:#ffffff6b;color:var(--text);outline:none;padding:0 9px;font-size:12px}.d002-app-shell .font-add-row input:focus{border-color:var(--border-strong)}.d002-app-shell .font-add-row button,.d002-app-shell .font-delete-button{border:1px solid var(--border);border-radius:4px;background:#ffffff6b;color:var(--text)}.d002-app-shell .font-add-row button{height:32px;padding:0 9px;font-size:12px}.d002-app-shell .font-add-row button:hover:not(:disabled),.d002-app-shell .font-delete-button:hover{background:var(--hover)}.d002-app-shell .font-add-row button:disabled{cursor:default;opacity:.36}.d002-app-shell .google-font-library{margin-bottom:10px;border:1px solid var(--border);border-radius:4px;background:#ffffff52;padding:8px}.d002-app-shell .google-font-library-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px;color:#222;font-size:10px;font-weight:500;line-height:1;text-transform:uppercase}.d002-app-shell .google-font-library-head span:last-child{color:var(--muted);font-weight:350}.d002-app-shell .google-font-library-controls{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:6px}.d002-app-shell .google-font-search{width:100%;height:30px;min-width:0;border:1px solid var(--border);border-radius:4px;background:#ffffff6b;color:var(--text);outline:none;padding:0 9px;font-size:12px}.d002-app-shell .google-font-category{height:30px;min-height:0;border-radius:4px;padding:0 22px 0 8px;font-size:11px}.d002-app-shell .google-font-search:focus,.d002-app-shell .google-font-category:focus{border-color:var(--border-strong)}.d002-app-shell .google-font-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:262px;margin-top:7px;overflow:auto}.d002-app-shell .google-font-card{display:grid;align-content:start;gap:8px;min-height:88px;border:1px solid rgba(0,0,0,.09);border-radius:4px;background:#ffffff3d;color:var(--text);padding:9px 10px;text-align:left;transition:background-color .14s ease,opacity .14s ease}.d002-app-shell .google-font-card:hover:not(:disabled){background:var(--hover)}.d002-app-shell .google-font-card:disabled{cursor:default;opacity:.48}.d002-app-shell .google-font-card-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:450}.d002-app-shell .google-font-card-sample{min-width:0;overflow:hidden;color:var(--text);font-size:22px;line-height:1;text-overflow:ellipsis;white-space:nowrap}.d002-app-shell .google-font-card-meta{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px;line-height:1}.d002-app-shell .google-font-card.is-added{background:#00000008}.d002-app-shell .font-list-action{display:inline-flex;align-items:center;gap:9px;color:var(--muted);font-size:11px;font-weight:350;text-transform:none}.d002-app-shell .mini-handle,.d002-app-shell .drag-handle{display:inline-block;width:13px;height:14px;opacity:.66;background-image:radial-gradient(currentColor 1px,transparent 1.4px);background-position:0 0;background-size:4px 4px}.d002-app-shell .font-list{overflow:visible;border:1px solid var(--border);border-radius:4px;background:#ffffff52}.d002-app-shell .font-list-row{position:relative;display:grid;grid-template-columns:35px minmax(0,1fr) 52px 24px 24px;align-items:center;min-height:28px;border-bottom:1px solid rgba(0,0,0,.09);background:#fff3;cursor:grab;transition:background-color .14s ease,box-shadow .14s ease,opacity .14s ease,transform .14s ease}.d002-app-shell .font-list-row:last-child{border-bottom:0}.d002-app-shell .font-list-row:hover{background:#00000006}.d002-app-shell .font-list-row.is-dragging{z-index:3;background:#ffffffeb;box-shadow:0 8px 20px #0000001f;cursor:grabbing;opacity:.72;transform:scale(1.01)}.d002-app-shell .font-list-row.is-drop-before,.d002-app-shell .font-list-row.is-drop-after{background:#00000009}.d002-app-shell .font-list-row.is-drop-before:before,.d002-app-shell .font-list-row.is-drop-after:after{position:absolute;right:0;left:0;z-index:4;height:2px;background:#11111175;content:""}.d002-app-shell .font-list-row.is-drop-before:before{top:-1px}.d002-app-shell .font-list-row.is-drop-after:after{bottom:-1px}.d002-app-shell .font-row-id{color:#4b4b48;font-size:11px;text-align:center}.d002-app-shell .font-list-row input{width:100%;min-width:0;height:26px;border:0;border-radius:0;background:transparent;color:var(--text);outline:none;padding:0 7px;cursor:text;font-size:11px}.d002-app-shell .font-list-row input:focus{background:#00000009}.d002-app-shell .font-source-pill{justify-self:start;color:var(--muted);font-size:10px;line-height:1}.d002-app-shell .font-delete-button{display:grid;place-items:center;justify-self:center;width:18px;height:18px;padding:0;font-size:13px;line-height:1}.d002-app-shell .font-list-row .drag-handle{justify-self:center;color:#777;cursor:grab;touch-action:none}.d002-app-shell .mobile-count{display:none}.d002-app-shell .preview-area{min-width:0;padding:40px 50px 50px 46px;overflow:auto}.d002-app-shell .preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 34px;max-width:1020px;margin:0 auto}.d002-app-shell .font-card{position:relative;display:grid;place-items:center;height:172px;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.d002-app-shell .font-card:after{position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(180deg,#ffffff38,#fff0);content:""}.d002-app-shell .favorite-star{position:absolute;z-index:2;top:16px;right:16px;display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:var(--text);padding:0;transition:background-color .16s ease,transform .16s ease}.d002-app-shell .favorite-star:hover{background:var(--hover)}.d002-app-shell .favorite-star:active{transform:scale(.94)}.d002-app-shell .favorite-star svg{width:21px;height:21px}.d002-app-shell .font-sample{position:relative;z-index:1;max-width:min(82%,32rem);padding-bottom:8px;overflow:hidden;line-height:1;text-align:center;text-overflow:ellipsis;white-space:nowrap}.d002-app-shell .font-card-label{position:absolute;z-index:2;bottom:17px;left:22px;display:flex;align-items:baseline;max-width:calc(100% - 72px);gap:17px;font-size:13px;line-height:1;white-space:nowrap}.d002-app-shell .font-card-number{font-weight:450}.d002-app-shell .font-card-name{overflow:hidden;opacity:.68;text-overflow:ellipsis}.d002-app-shell .empty-preview{display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 180px);margin:0;border:1px solid var(--border);border-radius:var(--radius);color:var(--muted);font-size:14px}.d002-app-shell .app-shell.is-preview-mode .app-header{height:70px}.d002-app-shell .app-shell.is-preview-mode .workspace{grid-template-columns:1fr;min-height:calc(100vh - 70px)}.d002-app-shell .app-shell.is-preview-mode .preview-area{padding:30px 42px 44px}.d002-app-shell .app-shell.is-preview-mode .preview-grid{max-width:1240px;gap:24px}.d002-app-shell .app-shell.is-preview-mode .font-card{height:218px}.d002-app-shell .font-management-page{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:56px 0 72px}.d002-app-shell .font-load-box{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:30px;margin-bottom:18px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:28px 30px}.d002-app-shell .font-load-box h2{margin:0 0 16px;color:var(--text);font-size:18px;font-weight:500;letter-spacing:0}.d002-app-shell .font-load-box p,.d002-app-shell .library-note,.d002-app-shell .font-load-status,.d002-app-shell .library-font-candidate{color:var(--muted);font-size:14px;font-weight:350;line-height:1.8}.d002-app-shell .font-load-box p{max-width:760px;margin:0}.d002-app-shell .font-load-status{margin-top:12px!important;line-height:1.5}.d002-app-shell .primary-button,.d002-app-shell .secondary-button{min-height:44px;border-radius:6px;padding:0 22px;font-size:15px;font-weight:500;white-space:nowrap}.d002-app-shell .primary-button{border:1px solid var(--text);background:var(--text);color:var(--bg)}.d002-app-shell .secondary-button{border:1px solid var(--border);background:var(--surface);color:var(--text)}.d002-app-shell .primary-button:hover,.d002-app-shell .secondary-button:hover,.d002-app-shell .library-font-card:hover{background:var(--hover);color:var(--text)}.d002-app-shell .library-note{margin:24px 0 18px}.d002-app-shell .library-controls{display:grid;grid-template-columns:minmax(220px,1fr) 156px 156px 156px 140px;gap:12px;margin-bottom:18px}.d002-app-shell .library-search,.d002-app-shell .library-controls select{width:100%;min-width:0;min-height:44px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);outline:none;padding:0 14px;font-size:15px;font-weight:400}.d002-app-shell .library-search::placeholder{color:var(--muted)}.d002-app-shell .font-library-meta{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;color:var(--muted);font-size:12px;font-weight:450}.d002-app-shell .library-font-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.d002-app-shell .library-font-card{display:grid;min-height:184px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);padding:22px 22px 18px;text-align:left;transition:background-color .16s ease,border-color .16s ease}.d002-app-shell .library-add-button{justify-self:start;min-height:34px;margin-top:16px;border:1px solid var(--border);border-radius:6px;background:var(--text);color:var(--bg);padding:0 14px;font-size:12px;font-weight:500}.d002-app-shell .library-add-button:hover:not(:disabled){background:var(--hover);color:var(--text)}.d002-app-shell .library-add-button:disabled{cursor:default;opacity:.42}.d002-app-shell .library-font-name{color:var(--muted);font-size:13px;font-weight:450}.d002-app-shell .library-font-sample{align-self:center;min-width:0;overflow:hidden;padding:20px 0 24px;color:var(--text);font-size:30px;font-weight:500;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.d002-app-shell .library-font-card-meta{display:flex;gap:11px;color:var(--muted);font-size:12px;font-weight:450;line-height:1}.d002-app-shell .library-font-card-meta span+span{border-left:1px solid var(--border);padding-left:11px}.d002-app-shell .library-font-candidate{margin-top:18px;overflow:hidden;font-size:11px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1180px){.d002-app-shell{overflow-x:auto}}@media(max-width:1320px){.d002-app-shell .workspace{grid-template-columns:360px minmax(820px,1fr)}.d002-app-shell .preview-area{padding-right:36px;padding-left:40px}.d002-app-shell .preview-grid{gap:24px}}@media(max-width:768px){.d002-app-shell{width:100%;min-width:0;overflow-x:hidden}.d002-app-shell{background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 74%,transparent),#fafaf800 220px),var(--bg)}.d002-app-shell .app-header{position:sticky;top:0;z-index:20;grid-template-columns:auto minmax(0,1fr);height:60px;background:color-mix(in srgb,var(--bg) 96%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:0 14px}.d002-app-shell .app-shell.is-preview-mode .app-header{height:60px}.d002-app-shell .brand-title{padding:0;font-size:16px;font-weight:400}.d002-app-shell .header-actions{display:flex;gap:8px}.d002-app-shell .top-actions{gap:13px}.d002-app-shell .nav-button,.d002-app-shell .theme-switch{padding:7px 0 9px;font-size:12px}.d002-app-shell .preview-utilities{gap:3px}.d002-app-shell .utility-button{position:relative;width:38px;min-height:38px;gap:0;padding:0}.d002-app-shell .utility-button span:not(.mobile-count),.d002-app-shell .utility-button .chevron-icon,.d002-app-shell .action-divider{display:none}.d002-app-shell .mobile-count{position:absolute;right:2px;bottom:2px;display:grid;place-items:center;min-width:14px;height:14px;border-radius:999px;background:var(--text);color:#fff;font-size:9px;line-height:1}.d002-app-shell .utility-button.is-active .mobile-count{background:#fff;color:var(--text)}.d002-app-shell .workspace,.d002-app-shell .app-shell.is-preview-mode .workspace{display:block;min-height:calc(100vh - 60px)}.d002-app-shell .sidebar{margin:12px;border:1px solid var(--border);border-radius:var(--radius);padding:16px 14px;overflow:visible;background:#fafaf8b3}.d002-app-shell .font-management-page{width:calc(100% - 24px);padding:18px 0 34px}.d002-app-shell .font-load-box{grid-template-columns:1fr;gap:18px;padding:20px}.d002-app-shell .font-load-box h2{font-size:16px}.d002-app-shell .font-load-box p,.d002-app-shell .library-note,.d002-app-shell .font-load-status{font-size:12px}.d002-app-shell .primary-button,.d002-app-shell .secondary-button{width:100%;min-height:42px;font-size:13px}.d002-app-shell .library-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.d002-app-shell .library-search,.d002-app-shell .library-controls select,.d002-app-shell .library-controls .secondary-button{min-height:42px;font-size:13px}.d002-app-shell .library-search,.d002-app-shell .library-controls .secondary-button{grid-column:1 / -1}.d002-app-shell .library-font-grid{grid-template-columns:1fr}.d002-app-shell .library-font-card{min-height:150px}.d002-app-shell .library-font-sample{font-size:28px}.d002-app-shell .app-shell.is-preview-mode .sidebar{display:none}.d002-app-shell .mobile-section{display:block;border-top:1px solid var(--border);margin-top:14px;padding-top:2px}.d002-app-shell .mobile-section summary{display:flex;align-items:center;justify-content:space-between;min-height:42px;color:var(--text);cursor:pointer;font-size:11px;font-weight:500;letter-spacing:.08em;list-style:none;text-transform:uppercase}.d002-app-shell .mobile-section summary::-webkit-details-marker{display:none}.d002-app-shell .mobile-section summary:after{color:var(--muted);content:"+";font-size:15px;font-weight:400}.d002-app-shell .mobile-section[open] summary:after{content:"-"}.d002-app-shell .mobile-section-body{display:block}.d002-app-shell .controls-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.d002-app-shell .control-group,.d002-app-shell .control-group:first-child{margin-bottom:0}.d002-app-shell .sidebar>.control-group{margin-bottom:14px}.d002-app-shell .controls-grid .control-group:first-child,.d002-app-shell .controls-grid .control-group:nth-child(2),.d002-app-shell .controls-grid .control-group:nth-child(3){grid-column:1 / -1}.d002-app-shell .control-label-row{margin-bottom:8px}.d002-app-shell .text-input,.d002-app-shell select,.d002-app-shell .color-input{min-height:42px}.d002-app-shell .font-list-editor{margin-top:0;padding-top:0;border-top:0}.d002-app-shell .font-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border:0;background:transparent}.d002-app-shell .font-add-row{grid-template-columns:1fr;gap:8px;margin-bottom:12px}.d002-app-shell .google-font-library{margin-bottom:12px}.d002-app-shell .google-font-grid{max-height:180px}.d002-app-shell .font-add-row input,.d002-app-shell .font-add-row button{height:42px;font-size:13px}.d002-app-shell .font-add-row .font-source-pill{justify-self:start}.d002-app-shell .font-list-row{grid-template-columns:26px minmax(0,1fr) 34px 28px 24px;min-height:44px;overflow:hidden;border:1px solid var(--border);border-radius:5px}.d002-app-shell .font-list-row:last-child{border-bottom:1px solid var(--border)}.d002-app-shell .font-list-row input{height:42px;padding:0 4px;font-size:12px}.d002-app-shell .font-delete-button{width:24px;height:24px;font-size:15px}.d002-app-shell .font-list-row .drag-handle{width:18px;height:22px;background-size:5px 5px}.d002-app-shell .preview-area,.d002-app-shell .app-shell.is-preview-mode .preview-area{padding:12px 12px 28px;overflow:visible}.d002-app-shell .preview-grid,.d002-app-shell .app-shell.is-preview-mode .preview-grid{grid-template-columns:1fr;max-width:none;gap:12px}.d002-app-shell .font-card,.d002-app-shell .app-shell.is-preview-mode .font-card{height:160px}.d002-app-shell .favorite-star{top:12px;right:12px;width:34px;height:34px}.d002-app-shell .font-sample{max-width:min(84%,22rem);font-size:clamp(36px,13vw,60px)!important;line-height:1;overflow-wrap:anywhere}.d002-app-shell .font-card-label{bottom:15px;left:18px;max-width:calc(100% - 70px);gap:13px;font-size:12px}.d002-app-shell .empty-preview{min-height:180px;margin:12px}}@media(max-width:480px){.d002-app-shell .controls-grid{grid-template-columns:1fr}.d002-app-shell .font-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.d002-app-shell .font-list-row{grid-template-columns:22px minmax(0,1fr) 28px 24px 20px;min-width:0}.d002-app-shell .font-list-row input{min-width:0;padding:0 3px;font-size:10px}.d002-app-shell .font-source-pill{font-size:8px}.d002-app-shell .font-delete-button{width:20px;height:20px;font-size:13px}.d002-app-shell .font-list-row .drag-handle{width:16px;height:20px;background-size:4px 4px}.d002-app-shell .google-font-library-controls,.d002-app-shell .google-font-grid{grid-template-columns:1fr}.d002-app-shell .top-actions{gap:10px}.d002-app-shell .nav-button,.d002-app-shell .theme-switch{font-size:11px}.d002-app-shell .font-library-meta{align-items:flex-start;flex-direction:column;gap:5px}.d002-app-shell .google-font-card{min-height:76px}.d002-app-shell .google-font-card-sample{font-size:20px}.d002-app-shell .font-card,.d002-app-shell .app-shell.is-preview-mode .font-card{height:150px}.d002-app-shell .font-sample{max-width:82%;font-size:clamp(34px,12vw,54px)!important}}@media(max-width:360px){.d002-app-shell .font-list{grid-template-columns:1fr}.d002-app-shell .font-list-row{grid-template-columns:32px minmax(0,1fr) 48px 34px 34px}.d002-app-shell .font-list-row input{font-size:12px}.d002-app-shell .font-source-pill{font-size:9px}}@media print{.d002-app-shell{min-width:0;background:#fff}.d002-app-shell .app-header,.d002-app-shell .sidebar{display:none}.d002-app-shell .workspace{display:block;min-height:auto}.d002-app-shell .preview-area{padding:0;overflow:visible}.d002-app-shell .preview-grid{max-width:none;gap:14px}.d002-app-shell .font-card{break-inside:avoid}}.d002-app-shell{width:100%;min-width:0;min-height:100vh}.d002-app-shell .app-shell{width:auto;margin:0;padding:0}.d002-app-shell .brand-title{border:0;background:transparent;cursor:pointer;text-align:left}.d002-app-shell .font-card{min-height:0;gap:0;padding:0;text-align:initial}.d002-app-shell .font-card-name{min-height:0;overflow-wrap:normal}.d002-app-shell .font-card-meta{display:initial;gap:0;flex-wrap:nowrap}.d002-app-shell .font-card-meta span{border-right:0;padding-right:0}
