/* Local editor skin. Layout follows the supplied LZA reference. */
.picker-option>img,.pokemon-select-trigger>img,.dex-card img,.reference-pokemon-image .hero-pokemon,.reference-page .collection-pokemon img,.model-image{image-rendering:auto!important;object-fit:contain}
.picker-option>img{width:54px;height:54px;flex-shrink:0;filter:drop-shadow(0 2px 3px #48505a10)}
.pokemon-select-trigger>img{width:32px;height:32px}
.reference-tabs [data-tab=trainer].active{color:#398c9e;background:linear-gradient(135deg,#49a8b724,#ffffffe6);box-shadow:0 2px 7px #49a8b720}
.pokemon-status-buttons .status-button .reference-status-icon{width:28px;height:28px;object-fit:contain;image-rendering:auto;filter:grayscale(1) brightness(.75);transition:filter .18s,transform .18s}
.pokemon-status-buttons .gender-button .reference-status-icon,.pokemon-status-buttons .status-button.active .reference-status-icon{filter:none}
.pokemon-status-buttons .status-button.active .reference-status-icon{transform:scale(1.06)}
.pokemon-status-buttons .gender-button .reference-status-icon{width:30px;height:30px}
:root{color:#282a2e;--text:#282a2e;--muted:#72747c}
body{background:radial-gradient(ellipse at 8% 8%,#fff8d7 0,transparent 50%),radial-gradient(ellipse at 90% 15%,#e3f7ff 0,transparent 50%),radial-gradient(ellipse at 25% 85%,#fce9f4 0,transparent 60%),#fbfafc}
.reference-page{padding:40px 16px 24px}
.reference-header{padding:10px;min-height:64px;border-radius:18px;gap:16px}
.reference-heading{gap:0}.reference-heading h1.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.reference-header .back-button{display:flex;width:auto;height:44px;gap:9px;padding:10px 24px;border-radius:24px;font-size:14px;font-weight:600;background:linear-gradient(145deg,#96969b,#6e6e75);color:#fff;box-shadow:0 6px 17px #72727840,inset 0 2px 4px #ffffff80,inset 0 -2px 4px #0002;text-shadow:0 1px 2px #0003}
.reference-header .back-button svg{transform:rotate(180deg);width:19px}
.reference-actions{gap:16px}.reference-actions .glass-button{height:44px;min-height:44px;padding:10px 24px;border-radius:25px;background:linear-gradient(145deg,#42d365,#25ab4b);box-shadow:0 7px 20px #34c75955,inset 0 2px 5px #ffffff88,inset 0 -2px 4px #0002;font-size:14px;text-shadow:0 1px 2px #0002;border:0}
.reference-actions .export-button{background:linear-gradient(145deg,#1990ff,#0053df);box-shadow:0 7px 20px #007aff55,inset 0 2px 5px #ffffff88,inset 0 -2px 4px #0002}
.reference-actions .export-button:hover{background:linear-gradient(145deg,#2599ff,#0065ef);box-shadow:0 9px 25px #007aff66}
.reference-content{padding:32px;background:#ffffffb3;border-radius:20px}
.version-banner{gap:0}.version-banner img{height:100%;width:auto;max-width:180px;padding:8px}.version-banner span{margin-left:20px;font-size:20px;letter-spacing:.5px;background:linear-gradient(110deg,#50514e,#2ba782);background-clip:text;-webkit-background-clip:text;color:transparent}
.pokemon-display-section{gap:24px;margin-bottom:32px}
.reference-pokemon-image{flex-basis:180px;padding:16px;min-height:182px;box-shadow:0 8px 24px #cededf55}
.pokemon-art-disc{width:120px;height:120px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 4px 12px #0000000d;padding:10px}
.reference-pokemon-image .hero-pokemon,.reference-pokemon-image .hero-pokemon.pixel{width:105px;height:105px;max-width:100%;object-fit:contain}
.reference-selector{padding:16px;background:linear-gradient(135deg,#cededf99,#ffffff80);border:1px solid #cededfcc;border-radius:16px;box-shadow:0 8px 24px #cededf55;justify-content:flex-start;position:relative}
.reference-selector>h2{font-size:14px;margin:0 0 12px;font-weight:600;color:var(--text)}
.pokemon-select-trigger{min-height:52px;padding:9px 14px;border-color:#cededf99;background:#ffffffb3;gap:12px;box-shadow:none}
.pokemon-select-trigger>img{width:26px;height:26px}.pokemon-select-trigger>span{font-size:14px;font-weight:400;color:#282a2e}
.pokemon-status-buttons{gap:8px;margin-top:12px;flex-wrap:nowrap;position:relative}
.pokemon-status-buttons .status-button{flex:1;height:52px;border:2px solid #cededf99;border-radius:12px;background:#ffffffb3;color:#555a5e;padding:10px;min-width:0;font-size:14px}
.pokemon-status-buttons .status-button>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.pokemon-status-buttons .status-button svg{width:26px;height:26px;stroke-width:2;fill:currentColor;stroke:none}
.pokemon-status-buttons .status-button[data-action=shiny] svg{fill:#404447;stroke:#404447;stroke-width:1}
.pokemon-status-buttons .status-button[data-action=shiny].active svg{color:#efb62f;fill:#efb62f;stroke:#efb62f;filter:drop-shadow(0 2px 4px #e8bd4a66)}
.pokemon-status-buttons .status-button.active{border-color:#aebfc1;background:linear-gradient(135deg,#cededf99,#fff9);box-shadow:0 0 0 1px #cededf66}
.pokemon-status-buttons .gender-button{font-size:30px;line-height:1;color:#09a6c6;font-weight:700}.pokemon-status-buttons .gender-button>span{position:static;clip:auto;width:auto;height:auto;overflow:visible}
.selector-types{display:none}
.reference-tabs{margin-bottom:24px;padding:4px;border-radius:10px;gap:0;background:linear-gradient(110deg,#efebedcc,#e8ebf0cc);box-shadow:none;overflow:visible}
.reference-tabs button{font-size:14px;padding:7px 12px;line-height:22px;border-radius:7px;color:#34363a;font-weight:500}
.reference-tabs button.active{font-weight:600;background:linear-gradient(135deg,#34c75920,#ffffffe6);box-shadow:0 2px 7px #34c75920;color:#34b957}
.reference-tabs [data-tab=stats].active{color:#f09300;background:linear-gradient(135deg,#ff950020,#ffffffe6);box-shadow:0 2px 7px #ff950020}
.reference-tabs [data-tab=moves].active{color:#007aff;background:linear-gradient(135deg,#007aff20,#ffffffe6);box-shadow:0 2px 7px #007aff20}
.reference-tabs [data-tab=ribbons].active{color:#f02d55;background:linear-gradient(135deg,#ff2d5520,#ffffffe6)}
.reference-tabs [data-action=boxes].active{color:#5856d6;background:linear-gradient(135deg,#5856d620,#ffffffe6)}
.tab-surface{--accent:#34b759;--tint:#34c75916;--edge:#34c75938;--input-edge:#34c75935;--shadow:#34c75912;padding:48px 30px 30px;border:1px solid var(--edge);border-radius:13px;background:linear-gradient(135deg,var(--tint),#ffffff50);box-shadow:0 4px 16px var(--shadow);min-height:250px}
.tab-stats{--accent:#f09500;--tint:#ff950020;--edge:#ff950040;--input-edge:#ff950033;--shadow:#ff950018}
.tab-moves{--accent:#007aff;--tint:#007aff13;--edge:#007aff30;--input-edge:#007aff38;--shadow:#007aff13}
.tab-ribbons{--accent:#f02d55;--tint:#ff2d550e;--edge:#ff2d552b;--input-edge:#ff2d5533;--shadow:#ff2d550e}
.tab-boxes,.tab-dex,.tab-trainer{--accent:#5856d6;--tint:#5856d611;--edge:#5856d62a;--input-edge:#5856d637;--shadow:#5856d612}
.reference-page .tab-basic .reference-form{grid-template-columns:minmax(0,1fr);gap:20px;max-width:800px;margin:0 auto}
.tab-surface .field{gap:8px;min-width:0}.tab-surface .field-label{font-size:14px;font-weight:600;color:var(--text);line-height:1.7}
.tab-surface .field input,.tab-surface .field select,.tab-surface .select-button,.tab-surface .field textarea{border:2px solid var(--input-edge);border-radius:10px;background:#ffffffb3;color:#34363b;font-size:15px;min-height:46px;padding:10px 15px;letter-spacing:.2px;line-height:22px;box-shadow:none;max-width:none;width:100%}
.tab-surface .field input:focus,.tab-surface .field select:focus,.tab-surface .field textarea:focus,.tab-surface .select-button:hover{border-color:var(--accent);box-shadow:0 3px 10px var(--shadow);outline:none}
.tab-surface .field select{appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888b90' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
.tab-surface .field input[type=number]::-webkit-inner-spin-button{appearance:none}.tab-surface .field input::placeholder{color:#96999e}.tab-surface .select-button svg{color:#888b90}
.additional-settings{margin-top:25px;padding-top:16px;border-top:1px solid #34c75925;font-size:12px;color:#668d70}.additional-settings summary,.stat-extras summary{cursor:pointer;user-select:none}.additional-settings-body{padding-top:18px;display:grid;gap:16px}.additional-settings-body .button{justify-self:start}
.stat-editor-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stat-editor-column{min-width:0}.stat-editor-column>h3{font-size:18px;color:#f09500;border:2px solid #ff950028;border-radius:10px;text-align:center;background:linear-gradient(135deg,#ff950016,#fff4);padding:8px;margin-bottom:24px;line-height:1.5;font-weight:650}
.stat-edit-field{display:block;margin-bottom:17px;min-width:0}.stat-edit-field>span{font-size:14px;font-weight:600;color:#303236;display:block;margin-bottom:8px}.stat-edit-field>div{display:flex;gap:8px}
.stat-edit-field input{min-width:0;width:100%;flex:1;min-height:43px;border:2px solid #ff950028;border-radius:10px;padding:8px 12px;text-align:center;background:#ffffffcc;font-size:14px;color:#404247;outline:none}.stat-edit-field input:focus{border-color:#ff9500a0}.stat-edit-field input::-webkit-inner-spin-button{appearance:none}
.stat-limit-button{flex-shrink:0;min-width:65px;min-height:43px;border-radius:10px;background:linear-gradient(145deg,#ffa724,#ff9000);color:#fff;font-size:14px;font-weight:600;box-shadow:0 4px 12px #ff950033,inset 0 1px 3px #fff7}.stat-limit-button:hover{background:#ffab26;transform:translateY(-1px)}
.stat-extras{margin-top:24px;padding-top:18px;border-top:1px solid #ff950025;font-size:12px;color:#9e793e}.computed-stats{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding:22px 0}.computed-stats>div{display:flex;align-items:center;flex-direction:column;gap:7px;background:#fff8;border-radius:8px;padding:10px 4px}.computed-stats b{font-size:17px;color:#bd842b}
.tab-surface .section-num{display:none}.tab-surface .section-title{margin:0 0 22px}.tab-surface .section-title h3{color:var(--accent);font-size:17px}.tab-surface .section-title p{font-size:12px;color:#797f88}.tab-surface .section-divider{background:var(--edge)}
.tab-moves .move-list{grid-template-columns:1fr;gap:20px}.tab-moves .move-card{border:2px solid #007aff25;background:#ffffff99;border-radius:12px}.tab-moves .move-select{min-height:68px;padding:14px 16px}.tab-moves .move-info strong{color:#305674;font-size:15px}.tab-moves .move-info span{color:#8c9ba8}.tab-moves .move-index{color:#6494be}.tab-moves .move-meta{background:#007aff08;border-top:1px solid #007aff15;color:#7792a8}.tab-moves .move-meta b{color:#406e94}.move-suggestions{font-size:13px;color:#456b88;margin-bottom:26px}.move-suggestions input{accent-color:#007aff;width:16px;height:16px}.information-note{background:#fff8;border-color:var(--edge);color:#9aacc0}.information-note p{font-size:11px;color:#7f8c9a}
.tab-ribbons .ribbons-heading h3{color:#3b343b}.tab-ribbons .ribbon-name{color:#66616b}.tab-ribbons .ribbons-heading>div>p{color:#9a7b90}.tab-ribbons .ribbons-mode{background:#fff9;border-color:#e8ccd7}.tab-ribbons .ribbons-tools .search-input{background:#fffc}.tab-ribbons .ribbons-grid{gap:15px}.tab-ribbons .ribbon-item{border-color:#d7ced866;background:#ffffff99}.tab-ribbons .ribbon-item.selected{border-color:#ef7795;background:#ff2d5510}
.tab-boxes{padding:28px 24px}.reference-page .collection-grid{gap:15px}.reference-page .collection-pokemon h3{color:#55517f}.reference-page .collection-pokemon small{color:#9390a9}.reference-page .collection-identifiers span{color:#9995b0;font-size:10px}.reference-page .collection-identifiers b{color:#77728f;font-size:11px}.reference-page .collection-card-footer>span{color:#918aa5}.reference-page .collection-card{border-color:#dcd9ef;background:#fffc}
.reference-page .box-toolbar h2{color:#66608d}.reference-page .search-input input{color:#555268}.reference-page .collection-controls>span{color:#9690a7}
.config-preview{margin-top:22px;background:#ffffff80;border-color:#dedee9}.config-preview summary{color:#888399;font-size:12px}.version-parameter-note{margin-top:13px}.reference-footer{font-size:10px;color:#a19eaa;flex-wrap:wrap}.reference-footer button{font-size:11px;color:#918b9e}.footer-tools{flex-wrap:wrap;gap:15px}
.reference-actions .update-record-button{color:#68618e;font-size:12px;border-color:#dad5eb;background:#fffc}
.reference-move-fields{display:grid;gap:34px}.reference-move-field>h3{font-size:14px;font-weight:600;color:#2187de;margin-bottom:8px}.tab-moves .move-select{min-height:46px;padding:10px 14px}.tab-moves .move-select>svg{color:#3b91df;flex-shrink:0}.tab-moves .move-info strong{font-size:15px;font-weight:400;color:#404a54}.tab-moves .move-card.unassigned .move-select{min-height:46px}.tab-moves .move-card.unassigned .move-info strong{color:#687786;font-size:14px}.tab-moves .move-card.unassigned{border-style:solid}.tab-moves .move-suggestions{margin:28px 0 0;gap:24px}.tab-moves .move-meta{padding:6px 12px;font-size:11px}.tab-moves .field-note{color:#8698aa;font-size:11px}
@media(max-width:900px){.reference-page{padding-top:26px}.reference-page .reference-content{padding:25px}.tab-surface{padding:35px 24px 26px}.reference-page .tab-basic .reference-form{grid-template-columns:1fr}}
@media(max-width:640px){.reference-page{padding:20px 12px}.reference-page .reference-header{padding:8px!important;gap:8px;min-height:54px}.reference-header .back-button{height:36px;padding:8px 14px;font-size:12px;gap:5px}.reference-actions{gap:8px}.reference-actions .glass-button{height:36px;min-height:36px;padding:8px 13px;font-size:12px;gap:5px}.reference-actions .glass-button svg{width:16px}.reference-page .reference-content{padding:20px 16px;border-radius:16px}.version-banner{height:60px;gap:0;margin-bottom:16px}.version-banner img{height:100%;width:auto;max-width:110px;padding:8px}.version-banner span{font-size:14px;margin-left:9px;letter-spacing:0}.pokemon-display-section{gap:12px;margin-bottom:24px}.reference-pokemon-image{flex:0 0 100px;min-height:130px;padding:0;overflow:visible}.pokemon-art-disc{width:85px;height:85px;padding:6px}.reference-pokemon-image .hero-pokemon,.reference-pokemon-image .hero-pokemon.pixel{width:85px;height:85px;max-width:100%}.reference-selector{padding:12px;justify-content:center}.reference-selector>h2{display:none}.pokemon-select-trigger{min-height:43px;padding:8px 10px;gap:7px}.pokemon-select-trigger>img{display:none}.pokemon-select-trigger>span{font-size:13px}.pokemon-status-buttons{gap:6px;margin-top:10px}.pokemon-status-buttons .status-button{height:38px;padding:6px;border-radius:9px}.pokemon-status-buttons .status-button svg{width:22px;height:22px}.pokemon-status-buttons .gender-button{font-size:25px}.reference-tabs{margin-bottom:20px}.reference-page .reference-tabs button{font-size:12px;line-height:20px;padding:6px 5px}.tab-surface{padding:28px 16px 22px;min-height:250px}.reference-page .tab-basic .reference-form{grid-template-columns:1fr;gap:20px}.tab-surface .field-label{font-size:13px}.tab-surface .field input,.tab-surface .field select,.tab-surface .select-button{font-size:14px;min-height:44px;padding:10px 12px}.tab-surface .field select{padding-right:32px;background-position:right 10px center}.stat-editor-columns{gap:12px}.stat-editor-column>h3{font-size:13px;padding:8px 3px;margin-bottom:20px}.stat-edit-field{margin-bottom:17px}.stat-edit-field>span{font-size:12px}.stat-edit-field>div{gap:5px}.stat-edit-field input{font-size:13px;padding:8px 4px;min-height:40px}.stat-limit-button{min-width:43px;min-height:40px;font-size:11px;border-radius:8px}.computed-stats{grid-template-columns:repeat(3,1fr)}.reference-page .tab-boxes{padding:20px 12px}.reference-page .box-toolbar{gap:12px;align-items:flex-start;flex-wrap:wrap}.reference-page .box-toolbar-actions{width:100%;justify-content:flex-start;gap:8px}.reference-page .collection-controls{flex-wrap:wrap}.reference-page .collection-identifiers b{font-size:10px}.tab-ribbons .ribbons-grid{gap:10px}.tab-ribbons{padding-inline:12px}.reference-footer{gap:12px}.reference-footer .footer-tools{width:100%;justify-content:center;gap:17px}.tab-moves .move-select{padding:13px 10px}.move-suggestions{font-size:11px;gap:12px}.tab-trainer .field-grid{grid-template-columns:1fr}.config-preview summary span{font-size:9px}}
@media(max-width:370px){.reference-actions .glass-button{padding:8px 10px;font-size:11px}.reference-header .back-button{padding:8px 10px;font-size:11px}.reference-actions{gap:7px}.reference-pokemon-image{flex-basis:84px}.pokemon-display-section{gap:9px}.reference-selector{padding:10px}.stat-limit-button{min-width:35px;font-size:10px}.stat-editor-columns{gap:10px}.stat-editor-column>h3{font-size:12px}}
